Skip to content

Commit fe591a5

Browse files
author
Suszyński Krzysztof
committed
Merge branch 'release/v0.5.0'
2 parents c7ba5bd + 80a6470 commit fe591a5

File tree

123 files changed

+3926
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

123 files changed

+3926
-0
lines changed

Diff for: .editorconfig

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# EditorConfig is awesome: http://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
# Unix-style newlines with a newline ending every file
7+
[*]
8+
end_of_line = lf
9+
insert_final_newline = true
10+
charset = utf-8
11+
indent_style = space
12+
indent_size = 4
13+
14+
[*.pp]
15+
indent_size = 2

Diff for: .gitignore

+100
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# C extensions
7+
*.so
8+
9+
# Distribution / packaging
10+
.Python
11+
build/
12+
develop-eggs/
13+
dist/
14+
downloads/
15+
eggs/
16+
.eggs/
17+
lib/
18+
lib64/
19+
parts/
20+
sdist/
21+
var/
22+
wheels/
23+
*.egg-info/
24+
.installed.cfg
25+
*.egg
26+
27+
# PyInstaller
28+
# Usually these files are written by a python script from a template
29+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
30+
*.manifest
31+
*.spec
32+
33+
# Installer logs
34+
pip-log.txt
35+
pip-delete-this-directory.txt
36+
37+
# Unit test / coverage reports
38+
htmlcov/
39+
.tox/
40+
.coverage
41+
.coverage.*
42+
.cache
43+
nosetests.xml
44+
coverage.xml
45+
*.cover
46+
.hypothesis/
47+
48+
# Translations
49+
*.mo
50+
*.pot
51+
52+
# Django stuff:
53+
*.log
54+
local_settings.py
55+
56+
# Flask stuff:
57+
instance/
58+
.webassets-cache
59+
60+
# Scrapy stuff:
61+
.scrapy
62+
63+
# Sphinx documentation
64+
docs/_build/
65+
66+
# PyBuilder
67+
target/
68+
69+
# Jupyter Notebook
70+
.ipynb_checkpoints
71+
72+
# pyenv
73+
.python-version
74+
75+
# celery beat schedule file
76+
celerybeat-schedule
77+
78+
# SageMath parsed files
79+
*.sage.py
80+
81+
# Environments
82+
.env
83+
.venv
84+
env/
85+
venv/
86+
ENV/
87+
88+
# Spyder project settings
89+
.spyderproject
90+
.spyproject
91+
92+
# Rope project settings
93+
.ropeproject
94+
95+
# mkdocs documentation
96+
/site
97+
98+
# mypy
99+
.mypy_cache/
100+
.idea

Diff for: .python-version

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2.7.13
2+
3.4.6
3+
3.6.1

Diff for: .travis.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# this file is *not* meant to cover or endorse the use of travis, but rather to
2+
# help confirm pull requests to this project.
3+
sudo: false
4+
language: python
5+
python:
6+
- "2.7"
7+
- "3.4"
8+
- "3.6"
9+
install: pip install tox-travis coveralls
10+
script:
11+
- tox
12+
- coveralls
13+
14+
notifications:
15+
email: false

Diff for: LICENSE

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Copyright 2017 Center for Information Technology
2+
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.

Diff for: MANIFEST.in

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Include the license file
2+
include LICENSE
3+
4+
# Include the data files
5+
recursive-include puppeter *.py
6+
recursive-include puppeter *.pyi
7+
recursive-include puppeter *.sh
8+
recursive-include puppeter *.pp
9+

Diff for: README.rst

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Puppeter - an automatic puppet installer
2+
========================================
3+
4+
.. image:: https://travis-ci.org/coi-gov-pl/puppeter.svg?branch=develop
5+
:target: https://travis-ci.org/coi-gov-pl/puppeter
6+
.. image:: https://coveralls.io/repos/github/coi-gov-pl/puppeter/badge.svg?branch=feature%2Finstall-puppet-agent
7+
:target: https://coveralls.io/github/coi-gov-pl/puppeter?branch=feature%2Finstall-puppet-agent
8+
9+
10+
A commandline tool to ease the installation of typical puppetserver - agent installation. It uses a interactive mode and batch mode as well. Batch mode utilizes a answer files for full automatic operation.
11+
12+
**TODO: Write more later**

Diff for: puppeter/__init__.py

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
import logging
2+
3+
from logging import Logger
4+
from typing import Type
5+
6+
# The version of the app
7+
__version__ = '0.5.0'
8+
__program__ = 'puppeter'
9+
10+
11+
def get_logger(cls):
12+
# type: (Type) -> Logger
13+
name = __fullname(cls)
14+
return logging.getLogger(name)
15+
16+
17+
def __fullname(cls):
18+
return cls.__module__ + "." + cls.__name__
19+
20+
21+
if __name__ == '__main__':
22+
from puppeter.main import main
23+
main()

Diff for: puppeter/__main__.py

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
from puppeter.main import main
2+
main()

0 commit comments

Comments
 (0)