Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/vyos/vyos-cloud-init


https://github.com/vyos/vyos-cloud-init

stright forward pylint cleanups to tests/ and tools/

0849ad447de8a1628e6b0158a5ce9b45d93f9bb8 authored over 12 years ago
test_util: add pylint ignore for FakeSelinux

The methods here have to match the real Selinux signiture, so
even though we dont use these vari...

77b5046f14b2535fd8c48dcbce25ef8e622926f5 authored over 12 years ago
pylint: setup.py

75d914f7562f69a6e57798a4c4c1eedbe6420f99 authored over 12 years ago
Address review feedback for:

https://code.launchpad.net/~joev-n/cloud-init/altcloud-changes/+merge/116542

6f2dc0d943d3f3527983b38f20085a6cf071c43e authored over 12 years ago
add protection against dns-redirection to is_resolvable

In an effort to make the EC2 Datasource's search under ec2.archive.ubuntu.com
resilient against ...

1bb67be5bd8c826717c9757f727406c73c7ef4e8 authored over 12 years ago
re-add the 'main' routine to DataSourceMAAS.py

the main function, which was usable for debugging maas was dropped during the
rework branch. I'...

8991867d98e997fa0cdef8bcfb2a5e46d8376af5 authored over 12 years ago
systemd: disable timeouts so cloud-config jobs have time to finish

3ac504a49a3755e58f6e74b7a17f98f3d4a4eb0c authored over 12 years ago
systemd: update program calling formats

e44dc25e34c97bd53c373567be817b65e9ef3b09 authored over 12 years ago
systemd: write stdout to tty so it shows up in GetConsoleOutput

d1c6ad4a9bfaba86e101642330bd478d9badd361 authored over 12 years ago
use get_cfg_option_bool for apt_mirror_search_dns

a7ab005ae9270b56aeebea16b6913c9d76e946ea authored over 12 years ago
add uptime to the output of cloud-log-shutdown

dd6b8d380c195656e856ea907d956f7963d4543e authored over 12 years ago
do not search for mirror named '<distro>-mirror' in dns by default

As described in the bug, enough non-cloud users experienced issues with
cloud-init selecting a m...

903b0867c43819dfa04f33db3b3ecb68e906e594 authored over 12 years ago
mention that upstart job cloud-config emits cloud-config

659bb077d147ab8cd8fbf6b2825bcd4051b304a9 authored over 12 years ago
emit the cloud-config event again

The merge of 0.7.0 dropped the cloud-config initctl emission.
I've added it back here, but done ...

a7dd3984322c42feaf77baf677d7acda9945415a authored over 12 years ago
add an upstart init job that logs shutdowns and reboots.

LP: #1018554

cd80da7aea03223c2786be2026cc627c5d7363a8 authored over 12 years ago
Add documentation for RHEVm and vSphere

5e6ee0444fa7d2acf688b152c7fd632c878e23c0 authored over 12 years ago
pep8, pylint... AltCloud source changes

3083335d2c2654e2ef0e41a35d4b1bf11f5d5c90 authored over 12 years ago
Add retry logic to DataSourceAltCloud

e20958b9d775475dd77c27394d7ccba77a3575b2 authored over 12 years ago
Added RHEVm and vSphere support as source AltCloud

8822100158489d8f7fb5c38d440489df5df62996 authored over 12 years ago
improve debug via _CLOUD_INIT_SAVE_STDIN and _CLOUD_INIT_SAVE_STDOUT

This does 2 things:
a.) fixes broken logic in 'close_stdin'
previously _CLOUD_INIT_SAVE_ST...

a37d2ee7d61bfc0a59590f76bb8426d4bf5dd1b1 authored over 12 years ago
DataSourceEc2: fix bad usage of log that caused trace

1bac4c2eef943157d190a06f775321675784a7ea authored over 12 years ago
packages/bddeb: support building source package

This does a few things:
* changes bddeb to copying out all files created during builddeb.
* li...

8069296b86da0fdbe2e9f4b804169ed3c238b9ba authored over 12 years ago
packages/bddeb: fix pep8 warnings. no other changes.

a6893e097508054b878fe4f62758af316cb5aa86 authored over 12 years ago
walker_callback: fix traceback on empty payload.

A previous commit of mine here tried to apply a trivial fix
to avoid a warning on empty content ...

dd183f1762883168a2a4ed7b8e808ee451992ef9 authored over 12 years ago
load_yaml: if conversion fails, but string is empty, return default

the problem sovled here is that most callers of yaml_load do not pass
'None' as a allowed type. ...

265f2c74bb7202c2641b387b5a09c92bbe6563c8 authored over 12 years ago
DataSourceOVF: again fix broken commit

5e296811619c7e814f61c8671cd596fe4203a38a authored over 12 years ago
fix bad variable. should be 'LOG', not 'log'

a2ba3597657ab94499dacd4ba7565056df4b6ccb authored over 12 years ago
DataSourceOVF: do not log exception on failed mount

during datasourceovf looking for a transport, the failed
mounts were having exceptions logged (t...

f12b49049e30c49f24797df3d0432e966dd6ea74 authored over 12 years ago
do not capture runparts output

runparts output was being captured. This meant that output of user-scripts
was being captured a...

29303d3bd372ab8cf711a59a580f3373c6f42254 authored over 12 years ago
add write-files module for "injecting" files (LP: #1012854)

This implements file writing via cloud-config. It also
* adjusts other code to have user/grou...

e90670e879cdd102e91f6b4c1909992ceb89fc7e authored over 12 years ago
Update the write files with the new content/compression handling.

Adjust the examples file to reflect this.

50a5728db977ec11f3448c473a396995ea29319e authored over 12 years ago
Fix log message after 'write_files' key change.

f79570474118e8e26fa7e6db324434f2980eae8f authored over 12 years ago
Adjust the decoding of the files that are given so that a canonicalize

happens first, which will examine the incoming encoding, and decide the
neccasary decoding types ...

eb939e7765f490529aade46e38ee0f85d8a911dd authored over 12 years ago
Tweaks to sysvinit so that cloud-init-local will run before

cloud-init, but there will not be a strong dependency between
them if cloud-init-local is missing.

3ad885991d355d1a97c7b197e471369d676715fa authored over 12 years ago
Change the welcome message to be slightly different

when running in local mode vs non-local mode, which
is useful when tracking what is happening in ...

c2443ed6bb9c1023c5f9c7020ad3ad0131a9b1d2 authored over 12 years ago
Fixes 1012854 by implementing file writing, adjusts

other code to have user/group parsing in util instead
of in stages.py, renames decomp_str to deco...

7b24230437a27779bafa0828e73ab595c5aeb202 authored over 12 years ago
Remove the usage of set,list,dict and use the collections

iterable which performs the same, but can handle iterator
types beyond those three.

86f0d708564ab210f2f58f3e76f94a4af56e360b authored over 12 years ago
re-setup logging to address cloud-config changes input via user-data

If the user has input logging information in user-data cloud-config
we want to set up the loggin...

02fe9d1f85d1194e631c4992495086ce7733f6e1 authored over 12 years ago
send welcome message after logging has been applied

in the 'cloud-init init' stages, we want the welcome message to get to the
correct output as spe...

e119877fcf9c38a89c4a054b146d8189b866d4e8 authored over 12 years ago
fix regression in logging code

revno 584 broke logging. This fixes as it intended.

fa09651fcea222d661803b6a86a79fbf6f147374 authored over 12 years ago
debian packaging: use X.Y.Z~bzrREVNO rather than X.Y.Z~REVNO

The ubuntu packaging uses ~bzrREVNO, just be more like that.

ee7deec1f122d1c0ae02a02dc6f726bbe9e3c9d5 authored over 12 years ago
cc_resizefs: show more specific time.

Show 3 decimal places for how long a resize took. 1 second granularity was
too large.

040b1c2f2b75c761fcb490fe97c40c747919f61b authored over 12 years ago
util.close_stdin(): Use the common 'is_false' routine for testing false

instead of a custom list that may confuse people trying to use this, use the
is_false function.

fa644f5edf9732ad3e4ca03531d78314518d76f7 authored over 12 years ago
Return a more useful name for the file lock

The name for the file lock now shows what file is being locked.

e43d91ba92a078c574dbf966fbeaf6a4b3d50d7d authored over 12 years ago
Add a comment/todo for the future, that instead of having distro

specific modules in cloudinit, that maybe we should encourage a 'config'
website or something sim...

ac867b475eea28429333966fd0f7d10564e8417a authored over 12 years ago
debian/control.in: accept software-properties-common (LP: #1021418)

use python-software-properties or software-properties-common to fullfill
the need for 'apt-add-r...

c07c5f6c4ec808e680bbbeedb7f06e3c74ecb34f authored over 12 years ago
Use the common 'is_false' routine for testing false here instead

of a custom list that may confuse people trying to use this.

6f3bba76d6cfbde64d0c7cc9f52effee8e8dd319 authored over 12 years ago
Return a more useful name for the file lock (which shows what file is being locked).

954f3d58388b9826dd6db4128e494ad36298db3e authored over 12 years ago
Add a comment/todo for the future, that instead of having distro

specific modules in cloudinit, that maybe we should encourage a 'config'
website or something sim...

b2817ac6dbfadff969aeb1ac28408bf960c94a3c authored over 12 years ago
Add more information about why we are returning early and

why we don't convert a string that is a filename to a string
buffer/io like object.

a83727242a1a6f044adfab39e6cf6466f0719259 authored over 12 years ago
do not warn to stderr if one of the logging configs works.

In 0.6.3, if one of the logging configs succeeded, then it was
just used. If it failed, it fail...

4b8d66b68ffc9a5cfa8fa8d129f9eed55f6ac1a7 authored over 12 years ago
cloud-init: do not warn on failure to find local datasource

Instead of a warning, only debug this message. Warnings get to
console and look scary to users.

ac84c966bdf6fb007b3c29f4cabb1f8fe5236579 authored over 12 years ago
fix bddeb and brpm: by renaming packaging files that are templates

In cherry picking the cheetah commit, I missed the rename of these files.
packages/debian/chan...

48ec119bd68dfa090785db7758c542878ee5fc56 authored over 12 years ago
cc_final_message: fix pylint issue

39e038a6c1b3e273d22527c05a484626e51b8ed3 authored over 12 years ago
url_helper.py, cc_rightscale_userdata.py: reduce WARN to DEBUG

cc_rightscale_userdata.py is likely to not be found, so its WARN
was annoying in that it got to ...

114b86923a4b5272e15e083704eada79a751c7e4 authored over 12 years ago
update Changelog

1febd1adc21da15b192f2bfec17b202c01554aa8 authored over 12 years ago
add header/explanation to templates/chef_client.rb.tmpl

b807b8bbe6c3cf31ac55cca66470c7f752edfe2c authored over 12 years ago
Revert back to using cheetah + adjust resultant code + templates

At this point there is a mixture of "double hash" cheetah comments and '#*'
cheetah comments.

75af023c864d1b6c4e48788b1b4cf7aad5eb2204 authored over 12 years ago
Adjust the sysvinit local script to provide 'cloud-init-local' and have

the cloud-config script depend on that as well.

This is a portion of revno 573 at lp:~harlowja/c...

50b9e8b7be096e331eb070c5c48d833b1756463c authored over 12 years ago
Makefile: change deb and rpm targets to not change working dir

'cd packages && ./bddeb' is no longer necessary.

b869b76dd9e4fb457f0286db167f5509868bb8ea authored over 12 years ago
add python-setuptools to debian build-depends

LP: #1022101

18dc2a9274a265ee6b440570ecc502947f17002f authored over 12 years ago
brpm: Add printouts which match the 'bddeb' package builder.

9d47fb974658e9697ae8826e7bc2468dcf7751c3 authored over 12 years ago
Get the debian package building working again.


Also, remove the pre-processing of debian/rules. instead use an
environment variable. To bui...

0ed44de3afa63c296040bcf7302bac35b8cafc21 authored over 12 years ago
include ~bzr in make-tarball output tarball and top level dir

output of 'make-tarball' now is tarball with name formatted as:
cloud-init-$VERSION~bzr$REVN...

a7e13e1f540019170de0f4fb0e008b703226df77 authored over 12 years ago
get 'brpm' working again. update make-tarball to have a top level dir.

cf1fa7219724c7192ebfb35e9a0796bf84dd9b26 authored over 12 years ago
rework packaging tools to find the right cloud-init topdir

This also fixes 'brpm' to address --init-system change that
smoser made to setup.py before the l...

7cd3e340264365c2e968b72cce78db9ff74b24a7 authored over 12 years ago
Update chownbyname to catch the key error when users/groups that are not known

are provided and rethrow it as a OSError (which seems reasonable) and adjust
its usage in the log...

492dc7478e0ab3eb03eb3b0b5d0e47812339b83f authored over 12 years ago
fix 'make pylint' warnings

On my system (quantal) this 'make pylint' does not complain now.

285e127de45f0feed7170bafc79b502170d5b381 authored over 12 years ago
DataSourceEc2: only do dns check in mirror selection

This returns the check for an archive mirror in the DataSourceEc2 to
only do so by DNS resolutio...

972c4e0d1bcfe40414dfb08525eb0fc35cec102e authored over 12 years ago
fix tools/run-pylint to just check all python fines

f1b72be4b4923d3effb80e1898f76ba0f81aab23 authored over 12 years ago
Got this working for 'brpm' again.

8c484baa3d55d9deef97d6e191a9e420e4fde059 authored over 12 years ago
Reworking these to look attempt to find the right parent directory, as well

as adjustments due to sysvinit rename.

c7aeea86fb8a17e4402cfc42626dfff2fb04c1a0 authored over 12 years ago
Merge rework branch in [Joshua Harlow]

- unified binary that activates the various stages
- Now using argparse + subcommands to spe...

b2a21ed1dc682a262d55a4202c6b9606496d211f authored over 12 years ago
Fix the initsys variable, setuptools/distools will automatically assign

to a variable of the name 'init_system' instead due to the param name being
'init-system'.

e7095a1b19e849c530650d2d71edf8b28d30f1d1 authored over 12 years ago
setup.py: rename "daemon type" to "init system"

This brings with it other changes, and also makes an install
install all of the requisite init f...

95711130af22f1d597aa0ab6b5a39d0af16f8a28 authored over 12 years ago
Add comment about keeping track of what people think about the 'read'

and 'write' root, and if it confuses them, remove it later and just
recommend a more 'natural' wa...

048b0953b4f33e6fe4f748ddddb392b6667c4f3b authored over 12 years ago
Updated so that if no mirror is found, the module stops running.

b3975ef46bbee1c713b963f3897fce9c5d3cbe94 authored over 12 years ago
1. Make the debian rules file a template (and pass in the daemon-type)

2. Adjust the bddeb to pass this in (as well as other output statement being added)
3. Adjust mak...

51a8e6ee88e9ee83450215208e2aaad4ad2a2843 authored over 12 years ago
Remove the useless function printout.

3cd17b470b70cf4c15f47bfe4f84844b078cd914 authored over 12 years ago
Add a check on 'chownbyname' that catches the keyerror and logs it (instead of failing)

fd96920837810c5e97de7f397a7df989a41165f3 authored over 12 years ago
When the hostname is also the ip (thus no hostname) just use 'localhost'

32ea55364e7688110646818dd651ed476b3c57f1 authored over 12 years ago
1. Cleanup of some mock functionality

2. Adding in returning the 'public-keys' to the metadata 'list' response
3. Adding in sending bac...

101d19df1c71b559bf34cfec87894f84ea041810 authored over 12 years ago
Add the ability to have setup.py have a CLI option that specifies the daemon type

which then later affects the installation of certain config files, which then
can be extracted du...

d0665e19efd69eee31344f1a1af212639dda0943 authored over 12 years ago
1. Update the mock ec2 data with some of the pubkey code from smosers ec2 metadata server.

2. Allow the setting of the ip addr (not just to 0.0.0.0)
3. Add comment as to how to use this fo...

21117bb5c26abcb42a7dcc5f318190e734c849bd authored over 12 years ago
Add a check on the filename provided ensuring it actually exists.

7e1a250d70c39607bc1f3e3134d6331cd372f511 authored over 12 years ago
Update the mock metadata server to return a file (or the default generated content) for the userdata blob.

f99dd7c2e43f9117c66e06fc31d10f559c912e86 authored over 12 years ago
Add a sample yaml config to be used for testing.

115e53d3a9114326cb7c07e4b95947b87d9e2d02 authored over 12 years ago
1. Fixup the setup.py to not include custom startup scripts, let the packaging solutions handle these

2. Get the cloud-init specfile working for the init.d case (with the right postun and post and in...

37aa678a39d8ac568351ce754d202c1069034d1c authored over 12 years ago
1. Move the welcome message template string to a constant at the top of the module

2. Fix the usage of multi_log to log to only one of the places (for now)
3. Update comment about ...

879946c26f005f5ae5c2bbdd537beb295d7f4773 authored over 12 years ago
Adjust the changelog after adding 'hacking.py'

8037b4723ad641701750f9b4c9b7d7216bf50838 authored over 12 years ago
Add a nova/openstack based extension to pep8 via hacking.py

bae7dfccda6662a40091b92c8c85ec6c37c5268d authored over 12 years ago
Merge in pending changes.

346739701b2de2db2bf2065d946d611d55bc5653 authored over 12 years ago
Always read fro the cloud config location + conf.d locations

9e1ffb27f4f316638a1fe83678c19f7215a8ef4b authored over 12 years ago
1. Rename util functions to is_true and is_false

2. Move the config loading functions to where they are used (in stages)
3. Adjust cc_set_password...

25712b40dfbe197c1ad8bdc783a2235e3c87c7de authored over 12 years ago
Add a multi log function that can write to stderr, console and a log debug, useful in certain cases

aa9189e89ec101fba8ca36919a7c800f8b28d5c0 authored over 12 years ago
Add in more comments about what has been changed/adjusted/reworked

342ffe553574c7662d143d3da76f8f4fb6587983 authored over 12 years ago
Add comment about #includeonce/#include bug/change

563fb5a70f580e1b706238d86503a84ae9ff131e authored over 12 years ago
Add some more TODO to be done in the future.

f8ddab59708fd00136021d363870492025994baf authored over 12 years ago
Include the helpers import.

3d933c525e90d0e01932d93e965e81526dcfb68a authored over 12 years ago
Refactor the selinux guard to aid in mocking

1. Adjust the test_util after this mocking to be cleaner

a0740928d0f4738792e478dad845b30eb8c61c41 authored over 12 years ago