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

add yum_add_repo configuration module

Add in a configuration module that can write out the yum.repo format for
those that want to hook...

6a3bd563282a51695bf1384d057d0495fd59929f authored over 12 years ago
1 pep8 and 1 pylint fix

d7a42777c83668111d9bb496f581605b33a0b4f2 authored over 12 years ago
revert unrelated whitespace changes that creeped in.

9cb3130b0b87eabe458df7dc113f00431ff3648e authored over 12 years ago
sync with trunk

15f3d2e53437e18f50c037694e6db174c9d5cf8f authored over 12 years ago
Add 'migrator' for handling config name changes and consistency

This migrator module does a few things
* fixes filename markers that were written with a '-' in...

cec15471c0fc7008cad607da222dd3c177e764b6 authored over 12 years ago
update ChangeLog

LP: #1076811

efa2dfa699bc9222105850641a2820ceda9bfe67 authored over 12 years ago
Sudoers.d creation cleanups + tests.

a17a69c35c1de0a6bd6f054f76d3da9e4a9c5364 authored over 12 years ago
Fix the merging of group configuration.

2c79c14b510751ab455888ab46f70c27b219bd19 authored over 12 years ago
Fix the merging of group configuration

when that group configuration is a dict => members.

LP: #1077245

1169dcc5f18fd9a5adbf353bec87e48d563550a5 authored over 12 years ago
Merge the yaml/cloud config examples checking tool.

0bd973791f05f1d7f94e91b354015789b6b608dc authored over 12 years ago
Fix pep8 warnings.

8c006684034c13719171672836edfc65bf02ebe9 authored over 12 years ago
Fix the fqdn/hostname case for rhel and ubuntu

where rhel uses the fqdn for its config while
ubuntu uses the short hostname.

a0f5926d6a238a71f96c6d5ddd617b5a3f78af46 authored over 12 years ago
Fix the none return problem.

b0f6c7bfa94a5ba302debdc16a175cb0017f9634 authored over 12 years ago
Forgot the test!

bd01f3466e10ca515a8e8aec42d00201f40cbd53 authored over 12 years ago
Fix the case where on a redhat based system

the fully qualified domain name should end
up in /etc/sysconfig/network by passing the
fqdn to th...

b80c2401123e16b9038ff3fb6f6d660717ee68e1 authored over 12 years ago
Merge fix for distro config not being

reflected when running in the init stage
after user-data has been loaded.

2199cf29b48f3f9789ce108951121ac6e55c5d4c authored over 12 years ago
Ensure that at needed stages the local variables

of the init class are reset so that when they are
regenerated that they will use the updated data...

154ad87b29344ea4d29d92f8559f61bb6efe6530 authored over 12 years ago
Add non-zero exit code when

bad yamls are found instead
of returning zero in that case.

d8e82fb7bc9da6259b158804ae3d8343050c67aa authored over 12 years ago
improve zsh support in tools/Z99-cloud-locale-test.sh

This change does 3 things:
* revert the fix from revno 697
* minor clean up some local variabl...

6240367f1e87b077c81a8af2883cd4b50f64d76b authored over 12 years ago
work with zsh by using 'emulate -L sh'.

This makes zsh act like 'sh', but only for the function local function.
This way, we do not affe...

956e94d16ab9c94471d3829424e8bd5183f3a735 authored over 12 years ago
remove unused variable 'cr'. fix usage of 'value' to local 'val'

380bd3f3417c640191bdf90f6622f8bbbe12b5c7 authored over 12 years ago
revert old zsh fix (revno 697)

ce14139c0f94b99c8c47192620b0a9faf66a96a2 authored over 12 years ago
1. Ensure that the sem_path exists and

is actually a valid value returned.
2. Adjust variable naming

196badd4cfa5f9f76be1138fb2d073649af3e031 authored over 12 years ago
1. Check the name and not the full path

when applying the canon routine.
2. Add in a function to migrate legacy
semaphores to new s...

3de3c535f37e40a79b36997a93fa218534117397 authored over 12 years ago
Start adding a 'migrator' module

that can be used to aid in the moving
of older versions of cloud-inits data
to newer versions of ...

791598f2929a5b8b6bb380f7f16ec568db96aba6 authored over 12 years ago
Add a makefile yaml checking target

and fix the cases where the cc yaml
is not correct.

7ea02ab1d8ee0f400a84ee2d688e67ffbc449bf0 authored over 12 years ago
1. Rebased with trunk

2. Added example cloud-config
3. Added functioning test for yum config

dbeb73f174ccc3b992a8488b7a72cf35c685f139 authored over 12 years ago
remove dead code from DataSourceEc2

1e6fc277a1c8d695c37741cc31f5ddab3d5b5600 authored over 12 years ago
test and path cleanups.

1. Remove the usage of the path.join function now that all code should
be going through the u...

21a3cf3186809f9dae387e52e8bd9bc548981003 authored over 12 years ago
trivial: -name first is faster due to no need for stat

8b677bc80a39a0eb1a3cc7989c6bffb959fc7a69 authored over 12 years ago
Add a more generic package install mechansim

This splits code in apt_update_upgrade into 'apt-update-upgrade' and
'apt-configure' and 'packag...

e6d4b76e5e60ff558c247ad76acd27343afe367c authored over 12 years ago
adjust documentation to account for apt/package aliases

180620470ba9aae4aac804b8bd66d3af8bd71ee4 authored over 12 years ago
merge from trunk

8ada8c1f625be5365a5116c458476c7deeae8818 authored over 12 years ago
add ChangeLog entry

0da58fe113726c7654bca54b365d95044b44ef87 authored over 12 years ago
update config to address name change

df3300e23324f2bb4d0d21a433b03708dc2feaeb authored over 12 years ago
fix pep8 warnings

5ffd19a0fbc473e34ac78f80d264c08ac0125e2b authored over 12 years ago
support unicode in user-data input of unknown types

Fix the case where a unknown type is seen and it has contents which are in
unicode. That caused...

ce5a554672f4ffbc383af08a35d22a1dd89ce41f authored over 12 years ago
Do the append after escape.

9850895442afe55079cecf4fd96fe8430ed960ea authored over 12 years ago
Use a method instead + at least

attempt the unicode-escape path.

7ec0ef04b975eb5b4c40f7ae746d706585c73a02 authored over 12 years ago
Fix the case where a unknown type is seen and

it has contents which are in unicode which seems
to cause python to blow-up when this happens sin...

7d027a031a3649ac04965a09cd26563ac9d760fd authored over 12 years ago
tools/Z99-cloud-locale-test.sh: avoid warning when shell is zsh

LP: #1073077

c508fa0c4159f93df077a2d46ed481fd5d8c8803 authored over 12 years ago
Helpful cleanups.

1. Remove the usage of the path.join function
now that all code should be going through
th...

aa8b51a48a30e3a3c863ca0ddb8bc4667026d57a authored over 12 years ago
Move the comment to the top + mark as fixing.

LP: #1068801

ec28772204c9b262e34cc7837e3baac0dac5ec5e authored over 12 years ago
Remove function that shouldn't have shown up.

8ffc2c8f791b7694a121ec30dac7437c6e8fdb9b authored over 12 years ago
Handle the case where newer versions of boto

are used that lazily load the metadata from the
ec2 metadata service.

1. Add a ec2_utils module ...

758e152721891c707573757fe7a7ff410ec446e2 authored over 12 years ago
use only util methods for reading/loading/appending/peeking

Use only util methods for reading/loading/appending/peeking
at files since it is likely soon tha...

71b4108d029fff61ff8183ffbd77917569bea2cd authored over 12 years ago
Add helpers for wrapping file operations

Add a new example test that will patch utils and os
functions so that they can be 'retargeted' t...

cb5893c3e3f635de4fef86f0a19be0ada0054930 authored over 12 years ago
No need for the get default

users groups function when
its provided by the get user
function.

2953d9d448fde3af19fc96ae00f41066f510d6fd authored over 12 years ago
multipart or cloud-config-archive, do not fail on unknown headers

LP: #1065116

43d46a36bd3c626317aa13aca15f0a0c639777b5 authored over 12 years ago
restart landscape after config or install

LP: #1070345

0421d502e903f3c3ece767be57df7c27323241a0 authored over 12 years ago
Make sure that /etc/sudoers.d is used by /etc/sudoers

Create /etc/sudoers.d if not present.

Attempt to determine if /etc/sudoers.d will be used by /e...

d6ecf35e15b3ba6ab6448b77b52cb78c63165880 authored over 12 years ago
Restart landscape at the end of the configuration

179f82a9719c2850e465f7f06221978f3be15ffc authored over 12 years ago
tweak default ubuntu user

182bf60757b76f86ffb4e5ee9aebcc8ce0fcc74f authored over 12 years ago
fix pep8/pylint

923f5c70fbff04ff538a5df17c300a9f39a85180 authored over 12 years ago
move default user info out of code and into config

Remove the need to have 'default_user' and 'default_user_groups' groups be
hard coded into the d...

605c10763752582af139f8677f1f907705564824 authored over 12 years ago
More cleanups for using the requests module.

1. Handle our own retries (so that we can sleep in between)
2. Cleanup the url so that partially...

6a6a2f7c337e18d84d7031ba60d5adf6a93256fc authored over 12 years ago
Fix the checking and capturing of exceptions.

8036ff686ae7e1a884e6a78022dd86a8eab514ec authored over 12 years ago
Fix the requires after using requests.

eec668c2256fc32a8d0879e1d91340d307c0971f authored over 12 years ago
Use the python requests lib instead of urllib3

since it provides the same support (and it uses
that library). Urllib3 doesn't seem to exist as
i...

0fc887d97626132e9024490b271888bed162c867 authored over 12 years ago
Remove the need for boto just for fetching the

userdata and metadata. Add in this crawling functionality
to the ec2_utils module that will fully...

7c9bbbc9b49425e3ba8e0517908477c58ea51d4b authored over 12 years ago
Start fixing how boto and our url fetching can not

use ssl correctly (they can not do validation due to
the underlying usage of urllib/httplib). Ad...

914c6e86f1689ae186a0db836e7f0304d72c38b4 authored over 12 years ago
More cleanups, fix header function.

04f52eb593e4f5114626c74fd8f3c5a9a8d440bd authored over 12 years ago
Make the yum value 'string' translation a function.

0b73122b6a7c63d4ab1b117c6c0c136876fefd16 authored over 12 years ago
Add in a created by cloud-init header.

8e38c908da002b350d26845ffb5931b4efce1ca8 authored over 12 years ago
Move the recursive flushing to the log module.

85a412c172044ae89d381f69ddb309ce8b3cea6e authored over 12 years ago
Add a more generic package install mechansim

that removes some of the code in apt_update_upgrade
to do upgrades and installs and places it in ...

7029732d496181233f2115dbfd65b13d20aceca7 authored over 12 years ago
Update comments as to why format is the way it is.

cf80962e51a925d5b895d0ef90c2a15ad99778b3 authored over 12 years ago
Fix copyright.

e8371b113c078f3017c44804662960da9a04abf2 authored over 12 years ago
Remove some pylint buggies.

19c640ebfd3832ec1582c6c134ea68efac95588c authored over 12 years ago
Add in a configuration module that can

write out the yum.repo format for those
that want to hook into different repos
for installing.

ea21cecc94b613b063d17588d4cd6612bc56753b authored over 12 years ago
cc_landscape: do nothing if config not give. install landscape-client.

LP: #1066115

bdaa57bc5b8a75b0891673a7bb0a60c5b02beb7c authored over 12 years ago
Skip install when there is not configuration, and install the package to be setup properly.

7d7cb0c7126ad4f67099f741dac67aceff66d002 authored over 12 years ago
Add some more sysconfig tests + pylint cleanups.

bbe325c902ef3a3b8845cd3c1bb8bee0c3c74a89 authored over 12 years ago
Fix the single item string quoting function.

204c635e622b52bbe2b2c2a72765e3cb886602fc authored over 12 years ago
Handle the case where the value contains shell

variables to be expanded which when using
pipes.quote will now not be expanded, so add
some check...

3cf8b618f9efcdb2e9cca695c2930a2bf14d42ec authored over 12 years ago
Update to use pipes.quote to ensure that

variables adjusted in sysconfig files are
properly quoted for there common use case,
that being s...

66f6d2d4fd1e8c1b397c9533ee0596d7b09e9824 authored over 12 years ago
Update log message to use the more appropriate 'non-persistently' wording.

059a4c45ab2b4439872d138452d6296bfe82be07 authored over 12 years ago
More adjustments/cleanups for the system configuration

helper objects.

1. Add in a parser for the /etc/hostname file that can be shared
2. Adjust the s...

0f1a2cbe434cba243ce65ff43a88722c2bcf6f2c authored over 12 years ago
Add comment explaining why the '_apply_hostname'

function will not be permanent and catch the
exception that occurs if it fails and log that
inst...

fe1ec4d4cbb682731e8f65be5dab60f4593ed9d6 authored over 12 years ago
Add comments as to a future refactoring

of this function that needs to occur since
its pretty much the same now.

b2901994e4310c255a6edf64dcf35c7bf12295ef authored over 12 years ago
System config niceness!

1. Move out the old helpers that provided oop access/reading/writing
to various standard conf...

80eb53deb9f80694c5fd0e0190197de1ff496716 authored over 12 years ago
Merge the resolv.conf branch in

preparation for having a new branch
for all of these changes.

f8b71af537aab3aef04a1e5ceba19e90a1445948 authored over 12 years ago
Fixed typo on dict value reference

LP: #1065116

e59ce224c45191a0ecceb113c9e5b8e6d9dcdab1 authored over 12 years ago
Merge rpm subrelease branch.

4a3eab9f5a49f8ebdf30b8378fa58c342b3d9c8a authored over 12 years ago
Make the subrelease a new k/v entry that is handled

differently in the rpm spec file template instead
of being joined with the release.

8b7b89a7aa0e1110ef8eb6ab46160dbc0a646019 authored over 12 years ago
Add the ability to have a 'private'

release number which can be to increment
cloud-init while still maintaining the
'major' cloud-ini...

aae71d04bf042ac20f9027a43f5b269a6f7c19fc authored over 12 years ago
Bring in the config drive fixes so that

it adjusts the fstab correctly and adds
tests in that verify the actions that
should happen (also...

8ff6ba4aaef8fc9a6b5c522cf26854e93f9107f0 authored over 12 years ago
Pylint cleanups.

40a54a4f4a486bc196ee0eac53ef630c828aef8e authored over 12 years ago
Add checks around the device names that are found

to ensure that even if they are found that they
are also valid, before they are assumed to be
the...

f510d8f5762f3c9d27afcc57f63d7614ec6c05cd authored over 12 years ago
Add tests to show that the assigned bug is fixed.

Also fix the extraction of the metadata key name
since it actually uses 'dashes' instead of bein...

5b4fa81016f487fb6e041cef5a3b4ac0bd0863c5 authored over 12 years ago
Ensure that config drive datasource attempts to

translate the device name to a actual device using
logic that will try the ec2 metadata (if avail...

ffa19cbd80ba10453f0ef448c1c10dbcbf5be504 authored over 12 years ago
Merged brpm changelog fixes

cb30e7ed56e2c26e654d1703d3f44495a160c6eb authored over 12 years ago
Ensure stderr newline.

7a2e678685dbc94e13f6d8ca6a5e92000e1f974f authored over 12 years ago
Only allow the first missing version to

use the datetime.now(), the others get
a warning message.

6cfb1d869614e8ceee45c4443ec65603cce72b78 authored over 12 years ago
Leave off creating fake headers for unknown versions

since this causes rpmbuild to croak with errors like
'changelog not in descending chronological o...

130d90cc675db6f33d294bf04e9c74227c07db50 authored over 12 years ago
bump version to 0.7.1

f73abb10210e21da858b99238e2945e5bf1cfac2 authored over 12 years ago
update ChangeLog for previous 2 commits.

Note, I've marked this as fixing LP: #1061964, but clearly it does not.
that was fixed under rev...

4c7de624659d4b6b3d073ef5c8e730dbac638135 authored over 12 years ago
sysvinit: fix cloud-init job for RHEL 5.6

For the cloud-init rc.d, ensure that the cloud-init-local mode is attempted
as a hard requiremen...

b2ba61becc62b84f9f6c6c969d41d70b1da29b1a authored over 12 years ago
config-drive: map hostname to local-hostname

Ensure that for config drive that we map 'hostname' to 'local-hostname' so that
the modules work...

223e1012608c5eb309ee51987446928fcbcd292b authored over 12 years ago
For now pull this in.

82314d806e8c7fd876bce2765ad3bb5ba235d09b authored over 12 years ago