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 a local only version

e497215716f50bf55346a43ac3af8eee15739d03 authored over 12 years ago
Restarting is just the same as starting, so don't return the exit code of the stop function

a3d37605e17bc6b88da9fc86f349a549bd596d13 authored over 12 years ago
Use the full path + rename to CLOUDINITARGS

902901d650f11df9a9786dd9b24a3569754c9896 authored over 12 years ago
Add initial init.d script.

223c0ac0ba8450596d1ff0534de5014202f06dc5 authored over 12 years ago
1. Adjust for the cases of 'yes', 'no', 'true', 'false' by

leaving those unquoted
2. Add more comments as to why we are leaving single quoted
strings ...

e18191a05b417b6f6aa9374ee288e79712320dee authored over 12 years ago
1. Fix the cfgobj to make sure it handles the quoting

of the keys and values in sysconfig specially by
ensuring that it does the quoting so that ...

a716d8a6a82231d71c80e43e4c7734513de8ba2b authored over 12 years ago
Remove comment about old-configs

f68e95fe17c25054354adfd2351fa434c367c3bc authored over 12 years ago
Add in debian, which should also work

ba79c2254c67bdf7545cc5c5433bbf16b92092f5 authored over 12 years ago
1. Add a ubuntu and fedora subclass of the RH/debian root classes

2. Move the ubuntu class to the debian class (since thats really what it is)

c55aa553b2f7141d539810bf17ba1aebb1a50bc4 authored over 12 years ago
Remove support for older ec2 configobj merging.

e69068d4b431ad237ff7e57795759fe8025a4bd7 authored over 12 years ago
Remove suppport for ec2-config

548cd1dabae48a507ea1a6967a527aa8fe400873 authored over 12 years ago
Use configobj support for now to keep the comments and other k/v pairs that may already exist in these files

bbb9f6682a717fddef16b56ea5de82792fb7f32e authored over 12 years ago
ConfigObj is a requirement now, so no need to see if

the import worked or failed.

7563328f1f08290a0d63e9e9e6da16b01ab4b5b8 authored over 12 years ago
Configobj should be a requirement now, and not optional,

so there is no need to check the import for errors.

5ea5f2c931b32ad1776b0dc108009affceea5389 authored over 12 years ago
1. Use configobj instead of configparser

a. This allows us to not have to add a fake section in
b. It will also preserver the files in...

3ca68402b5d9fbfeceebe39c92501dc773a335f4 authored over 12 years ago
Add comment that configobj is used for more than just old configs.

9bc45d35160717ff6ea5ba5289979202ca35bce5 authored over 12 years ago
1. Return which modules ran from the run module function

2. Use that list in the main binary & adjust related comparisions

2a2dc725670f8ff3c6024332302ff9c718ff27f2 authored over 12 years ago
Ensure that nothing was ran by checking the total count

264ff30c0f4424fe48d2bd70c71b68bb9e5afc59 authored over 12 years ago
Fixup python selinux guards, only try to restore after we check if its useful to restore, fix test to work with selinux enabled sysystems

ba5fb03646f6318a0ace286da746b4bb32f75d5a authored over 12 years ago
Use RuntimeError subclass instead of top level Exception

23cf7e35bf9aa1cffc9d1bb2f20d362b57110723 authored over 12 years ago
1. Go through a single protected get ipath method that will throw if there

is not an active datasource (ie the user has done an out of order call to
a function that n...

a588b9b966e51c9b9778b0082c8c5b6ab10f2677 authored over 12 years ago
1. Update comment about ipath returning None when no datasource is active

2. Fix pylint warning on set method of config parser.

94bf83b7a66c95eb56d2c286723d7f37c8c3de04 authored over 12 years ago
Comment cleanups and remove unneeded quotes.

1a0da144ef9afbc36a04cda9f17308b7eb4bcaf7 authored over 12 years ago
1. Update the comment about fstab to just point to 'man fstab'

2. Update the mount point adding of '/' to just add it in one place if it does not already exist

57d5e5647bf289da854dc717a9f70d28abf5a708 authored over 12 years ago
Updated so that the locale that is being written out currently in 'cc_locale'

now will be done by the distro classes (since its not the same for rhel and ubuntu).

Remove the ...

c49507a221464ce0f9747d4371f8e3d1d1b30abd authored over 12 years ago
Get this test working again.

340c8f337751152cc54bdbeb9f9428c35fa720a1 authored over 12 years ago
Ensure that calling the urls happens in a specified order.

8bd9ce21c0de36376be3056575dac2df34332854 authored over 12 years ago
Get both of these tests back in working shape.

d570f064d6e3407615588c6e03442404b7df1283 authored over 12 years ago
Testing is easier if we just pass the paths object, instead of the full cloud object here.

421556807fe27e6443c67410634f8a05ab84fc37 authored over 12 years ago
1. Only register and increment the handler count after we have ensured it imports and call_begin passes.

2. Fixup the 'test__init__.py' file to now be working again.

155fa982b895b70572857ab25a324809470d74b3 authored over 12 years ago
Missed some other mkdtemp and rmtree calls no longer needed

51181b8540372b9b83bbab51cae548992c497682 authored over 12 years ago
Use the mocker built-in method for creating temporary dirs (which it will cleanup)

0f1c493aa032b60210fc63c6b120b833ba4c10de authored over 12 years ago
1. Got this test working again using the new code.

2. Adjusted so that instead of capturing all logging, only a certain level is captured (now that ...

4fa23cc17e565d90c5798835e27e7c06843a7f44 authored over 12 years ago
Returning whether it was enabled, useful for unit testing

a70db20051d52fd7d56e98e821a9e528c3175ab0 authored over 12 years ago
This is now functional and all passing again

7bec03bca0e02230572917372a8bb7f73d389c7d authored over 12 years ago
Pass along any environment settings via the variable 'noseopts'

d4d93f0afda6fde915893e487ef6b0d1adaa0e7e authored over 12 years ago
Remove another unused import

18e4af9955d0b62871792ec4d270f99b2051d932 authored over 12 years ago
Remove a unused import.

549bdae7cb150a0d2465cf9931c3a0aec304764a authored over 12 years ago
Simplify sshd config loading to make it use one set of functions/objects/classes

081d0cb81213f69a51cbcce9063d2e0792bb5e34 authored over 12 years ago
Use yaml safe_load just incase

b22e8132dc7719fd7f60a26145edf1335495dee1 authored over 12 years ago
1. Renames for debug message from 'transform' to 'module'

2. Fixing up more cloud.path.joins found to use the right ro/rw filename

0c83ff5cb81b6de3028cf90e7dd6aba565682dbf authored over 12 years ago
Move to a write location and when writing, also write to the write location, instead of the read-only one

64f1347cb8f2580339d539b7772e7872ed81cae9 authored over 12 years ago
1. Move all info() logging methods to debug()

2. Adjust comment on sources list from depends
3. For the /etc/timezone 'writing', add a header t...

f1cab0d88cbcfa7eaa698db7dcc252bb6543d6c0 authored over 12 years ago
use yaml.safe_load rather than yaml.load

LP: #1015818

74f09aacd76eb62dd18a265b097378b55ae0fb50 authored over 12 years ago
Return a empty json map as default instead of an empty string for unknown fields

f7e638f6f58188cd4be1921cb045608f3c00d9c4 authored over 12 years ago
1. Add a dummy lock object + a file lock object

2. Use this object when returning semaphores
3. Adjust the debug statement to show this object

d8f49316e20cd11885f2ee5cfb9ad0ac7cf336c6 authored over 12 years ago
1. Shorten the passed in name for frequency (and expand it later)

2. For single modules, if it doesn't run, print a warning and exit with a return code of 1

85f9913e10e55bad037ea70a205c40ff169b7540 authored over 12 years ago
1. Add an importer function that will search for a given module in a set of search module 'prefixes'

that also has a potential set of required attributes.
2. Use this new importer to find the dis...

95e0fa29af3656c1011c41ab0f35dc4e9317269c authored over 12 years ago
No need for this now that we have the imports done correctly

d0ff82b71e315d49f49cbbd8e6a7740036973a4a authored over 12 years ago
Add a license and use find_packages to locate the needed packages

5d8493461404fea94c671f352e4e42e07f1099e4 authored over 12 years ago
Fix secondary config subdir name

26746dda9938a7e0c9b3317938e86f64ac4f4c2f authored over 12 years ago
Use setuptools instead of disttools, this seems to be needed for requirements to work

8e3bda0b1aa127f2dab0b8c8b50de3ee4414d58f authored over 12 years ago
Massive pylint + pep8 fixups!

ec4bdc4fb8d8d3a8f8b4f498eb47eac740485ede authored over 12 years ago
1. Rename to modules instead of transforms

2. Run single will now attempt to run a module of a given name, if it can find it (no restriction...

5c5525b35970611a5c4dbd44c5c6b6e2d57556cb authored over 12 years ago
Change to import error instead of runtime error.

27349ea69b8ccd3eace67e2b71ae8842e8001020 authored over 12 years ago
Catch the import error rather than the runtime error.

7f5f2c1a9396cb24a97c412fbe3422f10e485b46 authored over 12 years ago
Renamed back to 'cc_*' with the reasoning being that 'cc_' provides

some protection against module name collisions when importing.

f7bfe4aaae9850ab179a39436d4b6a9c9da707a5 authored over 12 years ago
The 'cfg' module has been removed and moved to 'helpers' to avoid confusion. These modules used the 'cfg' modules so adjusted them.

787377dbc08f689e4de2a112b5446f89b46d769e authored over 12 years ago
Removed this to avoid confusion with cfg and then having a config dir.

f733796967dcfeb9ad641b8f4856a34044f8c264 authored over 12 years ago
Move the configparser helper to here since it being in a cfg.py is

confusing when there is also a directory named 'config'

6f347387d57049bec80c920757e327223889798a authored over 12 years ago
1. Add a comment that the upstart dir should probably be put elsewhere sometime (in a distro specific build?)

since not all distros fully support upstart that is in config here or even have upstart in gen...

00b19244b9e3a88ff6252494e43268ba692815a6 authored over 12 years ago
Move back to the old dashs mixed with underscores for now until checking/migrating and then using canonicalized name is done.

d464a95b93a3956ba09edba91d651c9493bd66ca authored over 12 years ago
1. Show what we are importing

2. Don't rethrow as a runtime exception, let people using this just catch the real error...

7aa8cfa4f0292257568e6fc766c0fcc8d35b0b96 authored over 12 years ago
1. Use the name modules where transforms was used

2. Reflect the move back to config 'modules' in the other cli options
3. Have the single mode not...

2d4b57a6d12227ad03658e4b5d812c6fdca42049 authored over 12 years ago
Add in the new binary to be used in files found.

cedb76f729ae0e324992ff0568e299b7cd12f2cd authored over 12 years ago
update tools/bddeb and debian.trunk packaging

* debian.trunk/changelog: increase debian version to '1' to avoid lintian
error
* debian.tr...

25403168cea7b0ece56bc98a0b3ed05043182c91 authored over 12 years ago
Remove the .py extension for this new main program binary.

eeb7328ddb83e26b1163d2d40590498a971397c5 authored over 12 years ago
Add the ability to only fetch a local datasource instead of also trying to fetch an offical datasource from an external source.

6daf4e670d1eb19a87f2f5175b8afe26ada77d9b authored over 12 years ago
Add message about query not being implemented yet.

806251d1c1541d4f14a8f7ef7557633ae13c70ea authored over 12 years ago
Removed the older binaries, now supplemented by a unified binary.

5c3d91a0154c71a974ba34a37bbc37d4284bc774 authored over 12 years ago
Make the single run mode setup the output redirection and logging accordingly

af7a789c7d99f6ea461c14c22f3cb1959572a103 authored over 12 years ago
cc_salt_minion: install package salt-minion rather than salt

LP: #996166

142fad2a9a9acb702793c33269e04d8d01fa00d6 authored over 12 years ago
Show log message that says ec2 route disabling is not enabled

47fcd1c5eeeaa9f066adfe7556d9e608492cb965 authored over 12 years ago
Use comparisons instead of xrange, until python 3 when it should be more efficent

83361093da4fed2209d4aa790e584023a6e57e1d authored over 12 years ago
Change this function name back after made it back to protected after making the run single transform mode work

5859fd60454016e5e7b50a9d9d665e5aeb2da3b1 authored over 12 years ago
Show the lock object name and the lock value - useful for debugging

baa139e0112f0afe27238ed681b44faef0c7132f authored over 12 years ago
Ensure any authorized key file found in authorized keys is path adjusted as well

c431144283b6a348c761636e552c74091f4367f1 authored over 12 years ago
Always provide a path here, in this case the root path

c652894310e5135bcd9a3afcce9ed262e2b2adad authored over 12 years ago
Uppercase constants, remove need to use cloud.paths.join since scripts_d should already be modified

8136843f3d18358b63119900578134d9673422a0 authored over 12 years ago
Add dependency on argparse.

dc2e7aa9ed143007a963a33dbb8e8efd79cc42ef authored over 12 years ago
Pylint line length fixups.

1f138d244b1402298d31adcbc6815eca12c89da9 authored over 12 years ago
Get single module running mode mostly working (still needs a little work).

013d5734d2193d81502d1f73480cd49569a82dc8 authored over 12 years ago
Allow the run single to pass in a set of args and a frequency

that will replace the initial sections args and freqency if provided.
If not provided then no r...

d57681d5f1906e6187e7ca6381f6bd2d37dab3da authored over 12 years ago
1. Don't force the datasource to always fetch in construction (sometimes not wanted)

2. Add a run single transform function that can be used by the run single main entrypoint action
...

bd5075dc77219df36cd1209582d3e004a6d96449 authored over 12 years ago
Pylint cleanups.

28e0ecf1b7c99a783bdba901544fa9c1a8e37f65 authored over 12 years ago
1. Move the running of transforms to a common function that returns how a useful exit code

2. Add in the single transform running stub, which seems to be a feature of the previous cloud-in...

693c90e7efc0f1bf722ec52f70653010b10aad8b authored over 12 years ago
Fix comparison to none, instead of empty in ds_deps assignment check.

f328abcb49024c54bc77379ae78f4401015f7f31 authored over 12 years ago
1. Use the help message to show the default

2. Add a mode option in to the 'config' subparser that allows the user to affect the transform se...

a07ff5c4be32ae12aea2cc916c010c3b2b22f1b5 authored over 12 years ago
More path joinings found + update in logging of when we translate a path

b334a1035b645d9e727bdeb03e1fe3729bfc4e1a authored over 12 years ago
Fix logging message spelling

742a554a474475ac70f023e18a6ed29b2b88f906 authored over 12 years ago
More cleanups around read/write roots

39e3649f0cd863ffcb82b1ea83c147272b1784a2 authored over 12 years ago
More paths missed (durn), but now fixed.

319412b9fac28ae0a0ae059f44e668bc7d3bf857 authored over 12 years ago
Make most of all the places use the paths join() function so that testing with non-real read/write paths is easier.

43eb6d5aace53bef2116dde0796807befef1d8ff authored over 12 years ago
Use the given module as the root module for the given mod to be used from.

b492cedaa5a4e66f4f4c589fc73f53afade7b904 authored over 12 years ago
Initial add of read and write roots, this should cover a large set of cases that use the path object.

1. This basically allows configuration to specify 'read_root' which will be used for read operat...

f71f1d0a80b79f99fbe3795d250c656efd2eace4 authored over 12 years ago
Get the 'init' stage working.

51e28788a7f26c112587144b8c2165952d6f3ac7 authored over 12 years ago
Add a return statement that will collect the failures and the amount of transforms ran.

8688ce8a440973978e413584856e55dd6df693bc authored over 12 years ago
1. Cleanup variable names to match more of the pythonic underscore pattern

2. Seperate config loading from the actual final 'merging' process.
a. A util function will no...

e731e0b9a06f27d705a0635e848e68f00f2b16cc authored over 12 years ago
Fix pylint line length issues.

a8241225f408b8df258af0e6ea0820fb6894ea29 authored over 12 years ago
Cleanup no datasource exception to use cleaner csv list.

e898c7990cbe94d9116dc27d6c051523575c07e0 authored over 12 years ago