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

Move runparts to subp. (#420)

runparts (run a directory of scripts) seems to fit well in subp
module. The request to move it...

b36b61debe1556f6dfd2d7ff61fa7bd6b3335fa0 authored over 4 years ago
Move subp into its own module. (#416)

This was painful, but it finishes a TODO from cloudinit/subp.py.

It moves the following from ...

3c551f6ebc12f7729a2755c89b19b9000e27cc88 authored over 4 years ago
readme: point at travis-ci.com (#417)

30aa1197c4c4d35d4ccf77d5d8854a40aa21219f authored over 4 years ago
New feature flag functionality and fix includes failing silently (#367)

Build time feature flags are now defined in cloudinit/features.py.
Feature flags can be added t...

d0b69e1815db131e893e64745a078780f33097af authored over 4 years ago
Enhance poll imds logging (#365)

Improving the debugability of this code path by logging the thrown exception details for the non...

56f1939061392c848268ae063908bf2188f07373 authored over 4 years ago
test: fix all flake8 E121 and E123 errors (#404)

This fixes issues with closing brackets not matching the opening
bracket's line and continuatio...

d53921ea3396c8301c65cad3abf04b4542d4b7a0 authored over 4 years ago
test: fix all flake8 E241 (#403)

Remove extra spaces after a ','

5f7825e22241423322dbe628de1b00289cf34114 authored over 4 years ago
test: ignore flake8 E402 errors in main.py (#402)

This puts an ignore on the imports not at the top of the file errors.
The reason for the ignore...

d2b05719a6163e874ca40234a0b85dc2fea260c0 authored over 4 years ago
cc_grub_dpkg: determine idevs in more robust manner with grub-probe (#358)

Replace the hardcoded list of devices with a more robust way of determining
the device which gr...

fc07d633f7cb694423349a2c4b10c91c4b4981a2 authored over 4 years ago
test: fix all flake8 E741 errors (#401)

This removes the use of variables named ‘l’, ‘O’, or ‘I’. Generally
these are used in list comp...

4ab3303ec4bb49f029b7821d6dba53a6b02b6dc1 authored over 4 years ago
tests: add groovy integration tests for ubuntu (#400)

1211ab449bdfa34b8883c7386772155e6a516ebb authored over 4 years ago
Enable chef_license support for chef infra client (#389)

Co-authored-by: Daniel Watkins <[email protected]>

0919bd46bbd1b12158c369569ec1298bb000dd8a authored over 4 years ago
testing: use flake8 again (#392)

Instead of running pycodestyle and pyflakes seperately, use flake8 to
get the benefits of pyfla...

a99c8bcea597c17d83d90bf1e09c9a5b68c3dc22 authored over 4 years ago
enable Puppet, Chef mcollective in default config (#385)

These config management things work on BSD, they also claim to work on all distros, so enabling ...

8377897bdd1a88d4dc3b6456618231085c55af42 authored over 4 years ago
HACKING.rst: introduce .net -> Networking refactor section (#384)

289e314f90acdad477c72551b9315b5f23321fb8 authored over 4 years ago
Travis: do not install python3-contextlib2 (dropped dependency) (#388)

2314c0ccc33eb6f2f64208978c5892e434a92712 authored over 4 years ago
HACKING: mention that .github-cla-signers is alpha-sorted (#380)

Hopefully this will save some ~pointless round trips on CLA PRs.

961239749106daead88da483e7319e9268c67cde authored over 4 years ago
Add bipinbachhao as contributor (#379)

8c1b1bb9d3cd540f9f57d1110ab018bc4f267bfd authored over 4 years ago
cc_snap: validate that assertions property values are strings (#370)

And add an example of providing a list of assertions.

98a6d9a0da82a764943c9495d7f21f3acc5ccd05 authored over 4 years ago
conftest: implement partial disable_subp_usage (#371)

This allows tests to be configured to permit some commands to be run via
util.subp, while still...

de9c02a4c09d603bdfe5d23478e6c050223d79b6 authored over 4 years ago
test_resolv_conf: refresh stale comment (#374)

fae90f14f0668a673e02bc7313bc84828e7cae71 authored over 4 years ago
cc_snap: apply validation to snap.commands properties (#364)

Specifically, ensure that given values are either strings, or arrays of strings.

8bcf1c069d8ddf28898342e541254bdeb54445df authored over 4 years ago
make finding libc platform independent (#366)

and slower.
and since we're making it slower, let's cache it, in case boottime gets
called mor...

904ad3670f95ccc2ae89e6ebf68c9f67c4edbb25 authored over 4 years ago
doc/rtd/topics/faq: Updates LXD docs links to current site (#368)

We are longer using lxd.readthedocs.io

Signed-off-by: Thomas Parrott thomas.parrott@canonical...

e7a8da75fa7a0063ac9eba11a0ab120c20b3be07 authored almost 5 years ago
templater: drop Jinja Python 2 compatibility shim (#353)

f23a4c4262ac11cd75c99fcbfbfe453f4e115f18 authored almost 5 years ago
cloudinit: minor pylint fixes (#360)

We recently discovered that pylint is failing to report some errors when
invoked across our ent...

09492b1d0f4b1826a7a98709c61d48bf14a1ec64 authored almost 5 years ago
cloudinit: remove unneeded __future__ imports (#362)

We live in the future now.

4261ae538563d262bc76b8c55f7cc0c8abb14b00 authored almost 5 years ago
migrating momousta lp user to Moustafa-Moustafa GitHub user (#361)

b73b319094b133bf47038ab41f29cc9507bdc5bd authored almost 5 years ago
cloud_tests: emit dots on Travis while fetching images (#347)

This ensures that Travis will not kill our tests if fetching images is
taking a long time.

I...

089408751cdbd7950f58616f9d85ff9dfd9aa3c7 authored almost 5 years ago
Add schema to apt configure config (#357)

Create a schema object for the `apt_configure` module and
validate this schema in the `handle` ...

2e32c40a607250bc9e713c0daf360dc6617f4420 authored almost 5 years ago
conftest: add docs and tests regarding CiTestCase's subp functionality (#343)

And raise TypeError when subp called with no args, which more accurately mirrors normal behaviou...

c8f20b31cd57443b1bef17579dfceca432420c94 authored almost 5 years ago
analyze/dump: refactor shared string into variable (#350)

d10ce3ecfe89d7ec2a69bdbd109b100090698ded authored almost 5 years ago
doc: update boot.rst with correct timing of runcmd (#351)

73aed0431c20759bd3dd4db774ea6ee349575e16 authored almost 5 years ago
HACKING.rst: change contact info to Rick Harding (#359)

ee64b6250b7457d47c336b7e4e971e8b5e5169f3 authored almost 5 years ago
HACKING.rst: guide people to add themselves to the CLA file (#349)

This (a) gives people an easy way of getting a commit into the codebase,
and (b) saves us from ...

f9d041471c189463b0a8059bd9365d0c96ac7267 authored almost 5 years ago
HACKING.rst: more unit testing documentation (#354)

Specifically:

* include warning against general use of mock assert methods (and suggestions o...

73a5b3280ebb2823cb2751e37c5e2687aeb84088 authored almost 5 years ago
.travis.yml: don't run lintian during integration test package builds (#352)

As we only look at these logs when there's an error, and lintian
failures don't cause the packa...

f5c3f3cd17e24aa60571fc6884f99d16b43c4b00 authored almost 5 years ago
Add test to ensure docs examples are valid cloud-init configs (#355)

Also update all examples to include the cloud-config header if they don't have it

LP: #1876414

34b868020254106af8c79ffb85e04e294b19e44f authored almost 5 years ago
make suse and sles support 127.0.1.1 (#336)

Move from 127.0.0.1 to 127.0.1.1 for localhost IP addr for opensuse and sles

b24b376fabd54e4dc96ffc1b90a984addf42fc4c authored almost 5 years ago
lp-to-git-users: adding chengcheng-chcheng (#356)

Mapped from chcheng

1c2d9881341f6335cc47a8a8d63df8759d8c2073 authored almost 5 years ago
Create tests to validate schema examples (#348)

Add a unit test to validate if the examples provided in the config
modules are conforming to th...

022122a54e895468d054ed162fdf1b403b7aaf3f authored almost 5 years ago
analyze/dump: add support for Amazon Linux 2 log lines (#346)

Amazon Linux 2 is configured with a log format different to the one
shipped by upstream, which ...

73d8748e797134fa0a06415b6cb16be2e05abc7e authored almost 5 years ago
bsd: upgrade support (#305)

Implement the upgrade support:

- FreeBSD: using `pkg upgrade`
- NetBSD: with `pkgin`

f9b393bb4f15258de230884949e543e0f62f9abb authored almost 5 years ago
Add lucasmoura as contributor (#345)

59dd290ee7986f76247bfd26d18cbcc586777812 authored almost 5 years ago
Add "therealfalcon" as contributor (#344)

fededca4bdc30935fa76d75ba07253bb388ba6f3 authored almost 5 years ago
Adapt the package building scripts to use Python 3 (#231)

Since upstream cloud-init has dropped python2 support,
adapt remaining package build scripts an...

4d2684848722cb2d469ad4fa60999bf81cf7056e authored almost 5 years ago
DataSourceEc2: use metadata's NIC ordering to determine route-metrics (#342)

We want to set route-metrics such that NICs are configured with the priority that they are given...

70dbccbbb27f7cc3f2decd692d41403f0d745c62 authored almost 5 years ago
.travis.yml: introduce caching (#329)

cloud-images.ubuntu.com can sometimes be under heavy load; caching the
images helps avoid that ...

25698b144e3b6548ffc29ab14bed1882242b161a authored almost 5 years ago
cc_locale: introduce schema (#335)

7dceb9882590fb738ac0ff3429908cc6c945485a authored almost 5 years ago
doc/rtd/conf.py: bump copyright year to 2020 (#341)

0a4971b2b2d073bc96786baf8a050b0c411e1c39 authored almost 5 years ago
yum_add_repo: Add Centos to the supported distro list (#340)

Users of Centos who want to add yum repos, like they do on Fedora
or RHEL get this unfortunate ...

5815dd9bb859859573d9d3219918e5ab1ce3d3af authored almost 5 years ago
Release 20.2 (#337)

Bump the version in cloudinit/version.py to 20.2 and
update ChangeLog.

LP: #1875951

03aed95829ce52214a6a888d6bd1a5d841e85464 authored almost 5 years ago
doc/format: reference make-mime.py instead of an inline script (#334)

`make-mime.py` is a more recent version of the inline script that this
link is replacing.

32338f57f8b6160ba9758e76b95731a06d5bc2fd authored almost 5 years ago
Add docs about creating parent folders (#330)

Clarify in documentation that write_files will create parent folders
for paths that do not alre...

b70f11079e6d4264ff9a8c12089945f57d903e28 authored almost 5 years ago
DataSourceNoCloud/OVF: drop claim to support FTP (#333)

I don't believe this has ever been supported, looking at the git
history, but it certainly isn'...

f5e1d67bf6faf400749ca192c3394c3356b2654e authored almost 5 years ago
schema: ignore spurious pylint error (#332)

The line in question is in the code path handling older versions of
jsonschema. In that contex...

429c1ab9b0ee04f5a2287b8579c02907f30e795f authored almost 5 years ago
schema: add json schema for write_files module (#152)

Add schema definition to cc_write_files.py

Cloud-config containing write_files config directi...

61a19249c2010743a467a51f8f0750712c2d92e0 authored almost 5 years ago
BSD: find_devs_with_ refactoring (#298)

Refactoring of the `find_devs_with_*bsd()` methods:

- centralize everything in `util.py`
- a...

72f6eb0339f7fcf7b8b02be2e86e5f7477cf731c authored almost 5 years ago
nocloud: drop work around for Linux 2.6 (#324)

These two lines were a requirement for RHEL6, and they have been added 7
years ago:

- https:...

e4499963d663b52ca4b66423c0445909d710cfbd authored almost 5 years ago
cloudinit: drop dependencies on unittest2 and contextlib2 (#322)

These libraries provide backports of Python 3's stdlib components to Python 2. As we only suppor...

38a7e6e9756fdab31264c0d6e93d20432ed111ac authored almost 5 years ago
distros: handle a potential mirror filtering error case (#328)

As written, it's possible that the first transformation for a mirror
hostname could be passed N...

7276aa5240b8cb84671a56d795d811f15dfba8e2 authored almost 5 years ago
log: remove unnecessary import fallback logic (#327)

logging.NullHandler has been present since Python 3.1, we don't need to
handle its absence.

c5b44e46c13b0940a30073dc36196e430f8d2acb authored almost 5 years ago
.travis.yml: don't run integration test on ubuntu/* branches (#321)

The integration test doesn't work against the ubuntu/* branches because
it uses the tooling des...

e9ab1235eb3944ede588188592a1aa1aaae02591 authored almost 5 years ago
More unit test documentation (#314)

* HACKING.rst: add list of available pytest fixtures
* HACKING.rst: capture common mock naming ...

506590e9be4a626909bd7771a6e85519021f813e authored almost 5 years ago
conftest: introduce disable_subp_usage autouse fixture (#304)

This mirrors the behaviour of CiTestCase.allowed_subp, by causing all
calls to util.subp to rai...

845a393d8bb641216b1d311b09486b0aa19f1e9c authored almost 5 years ago
YAML align indent sizes for docs readability (#323)

This proposal has been aligned in a human readable.

There are no changes to this except f...

1b049e6e51a9ac1ca02bf33629ede5c47c5b1941 authored almost 5 years ago
network_state: add missing space to log message (#325)

ceb3ae77486411664fd032ba7535d5dd3f02684b authored almost 5 years ago
tests: add missing mocks for get_interfaces_by_mac (#326)

We currently have a test system where get_interfaces_by_mac raises an
exception, which is causi...

d7cad8b61a3b5929a65202e0964aa9b4624e06c4 authored almost 5 years ago
Cloud-init: T2309: Added filter to host-name and code cleanup

Since not all data-sources filter hostname in Meta-Data, we need to be sure that the value recei...

c9408ceb137c9585d5707dd37e6a85d89a5c24c9 authored almost 5 years ago
test_mounts: expand happy path test for both happy paths (#319)

0c5c736727d0f8e363678fe970d70bb889e3893c authored almost 5 years ago
cc_mounts: fix incorrect format specifiers (#316)

LP: #1872836

9d7b35ce23aaf8741dd49b16e359c96591be3c76 authored almost 5 years ago
swap file "size" being used before checked if str (#315)

Swap file size variable was being used before checked if it's set to str
"auto". If set to "aut...

46cf23c28812d3e3ba0c570defd9a05628af5556 authored almost 5 years ago
HACKING.rst: add pytest version gotchas section (#311)

And document that we can't yield in pytest.fixture functions due to the
age of xenial's pytest.

48b15bf3fbfb74e1112c86c63f55dea2c76adfa3 authored almost 5 years ago
docs: Add steps to re-run cloud-id and cloud-init (#313)

e1a060487eeafc9c5944557f83c5a05e03b6852f authored almost 5 years ago
readme: OpenBSD is now supported (#309)

Add OpenBSD in the list of supported Operating System.

e30599c103ff926e8cbf38f36d1ba071918fc386 authored almost 5 years ago
net: ignore 'renderer' key in netplan config (#306)

LP: #1870421

09fea85fd1f6fd944f4cdd8b97e283090178ae88 authored almost 5 years ago
Add support for NFS/EFS mounts (#300)

The cc_mounts module does not support NFS mounts in the form of hostname:/ or hostname:/path.

...

723e2bc1ad14687a8d6846b9ca73620e4e4090b1 authored almost 5 years ago
openbsd: set_passwd should not unlock user (#289)

Decouple unlocking passwords when also setting passwords. On OpenBSD skip unlocking
password as...

bec8f387252ac32e1fd7963cf871ceed8d313edd authored almost 5 years ago
tools/.github-cla-signers: add beezly as CLA signer (#301)

0dae0996a8005a1cf399bd6d370b538282ebdb20 authored almost 5 years ago
util: remove unnecessary lru_cache import fallback (#299)

functools.lru_cache has been present since Python 3.2, so we no longer need to handle its absenc...

95ef35d219daa2a207ed7bd30e961101935770e4 authored almost 5 years ago
HACKING.rst: reorganise/update CLA signature info (#297)

* Split the "existing contributors" information out to a separate
section
* Update the "Do t...

9efa64f5a7142466a70df805787a4ab347fd9eba authored almost 5 years ago
distros: drop leading/trailing hyphens from mirror URL labels (#296)

* distros/tests/test_init: drop needless brackets/indentation

* distros: drop leading/trailin...

1bbc4908ff7a2be19483811b3b6fee6ebc916235 authored almost 5 years ago
HACKING.rst: add note about variable annotations (#295)

f51e3d0e23b2873f077d1b7b3ac6874b94b1a374 authored almost 5 years ago
CiTestCase: stop using and remove sys_exit helper (#283)

This shim was required to support Python 2.6, so we no longer need it.

b698b349c827f30fa60de55e2469a21ae4342669 authored almost 5 years ago
distros: replace invalid characters in mirror URLs with hyphens (#291)

This modifies _get_package_mirror_info to convert the hostnames of generated mirror URLs to thei...

c478d0bff412c67280dfe8f08568de733f9425a1 authored almost 5 years ago
rbxcloud: gracefully handle arping errors (#262)

ed350acb7a941ef16b2f9e19b223b58901e6b431 authored almost 5 years ago
Fix cloud-init ignoring some misdeclared mimetypes in user-data.

On some platforms (old heat on OpenTelekomCloud), the user-data mime part
is mislabeled x-shell...

d00126c167fc06d913d99cfc184bf3402cb8cf53 authored almost 5 years ago
net: ubuntu focal prioritize netplan over eni even if both present (#267)

On Focal and later, Ubuntu will prioritize netplan renderer over eni,
even if ifupdown and netp...

4fb6fd8a046a6bcce01216c386f3b691a2c466bb authored almost 5 years ago
cloudinit: refactor util.is_ipv4 to net.is_ipv4_address (#292)

This also simplifies the implementation to rely on the stdlib, instead
of our own NIH checking.

4f825b3e6d8fde5c239d29639b04d2bea6d95d0e authored almost 5 years ago
net/cmdline: replace type comments with annotations (#294)

ee0377924aa6bcd072dc5836dbf8ac51110bd87d authored almost 5 years ago
HACKING.rst: add Type Annotations design section (#293)

e76057f46a0d09d6e5e8ac52b49759d23b18ff36 authored almost 5 years ago
net: introduce is_ip_address function (#288)

This will be required for the mirror URL sanitisation work,

2566fdbee06cf5708cfcd988a65fb81cdf794dbf authored almost 5 years ago
CiTestCase: remove now-unneeded parse_and_read helper method (#286)

(And sort some imports where I was changing them.)

36a597de6f130a17360856697759b08f3c835df1 authored almost 5 years ago
.travis.yml: allow 30 minutes of inactivity in cloud tests (#287)

We're seeing CI failures currently because a LXD image takes more than
10 minutes to download i...

41cc2014ae2df5bfa61496c8adb88d132008294b authored almost 5 years ago
sources/tests/test_init: drop use of deprecated inspect.getargspec (#285)

1905ff47e9e688d9a48d6132fd45b341f2d66fe4 authored almost 5 years ago
setup.py: drop NIH check_output implementation (#282)

We no longer need to support versions which don't have
subprocess.check_output, so we can rely ...

14c1f486cf510bf76ff903710ff892606b71726d authored almost 5 years ago
Identify SAP Converged Cloud as OpenStack

add SAP Converged Cloud as cloud provider

7f9f33dbb08bacaa49244e857847400ad8a67ad4 authored almost 5 years ago
add Openbsd support (#147)

- tested on OpenBSD 6.6
- tested on OpenStack without config drive, and NoCloud with ISO config...

44039629e539ed48298703028ac8f10ad3c60d6e authored almost 5 years ago
HACKING.rst: add examples of the two test class types (#278)

4c88d9341e75a1a14ba2e8bd0ab309e265229f7e authored almost 5 years ago
VMWware: support to update guest info gc status if enabled (#261)

1fefeef92fd1881b21e124b83f2adefd3e014087 authored almost 5 years ago