Commit graph

228 commits

Author SHA1 Message Date
Kevin Olbrich
69865d9eb6 add latest debian releases 2023-06-21 10:04:07 +02:00
Kevin Olbrich
cc00d28e00 add debian bullseye support 2020-01-20 09:49:39 +01:00
andrewbogott
0d0e3e5513 Puppet plugin: support Debian Buster
Note that the puppetlabs upstream repo doesn't actually have
    buster builds yet, so this patch won't work until they do that.
2019-03-04 16:35:50 -06:00
andrewbogott
64aeeadbdb cloud_init: allow buster as a target 2019-03-04 16:35:50 -06:00
Andrew Bogott
a5e8aae7b0 Fix a couple of (presumed) issues with regex escaping.
In each of these cases we have an un-escaped \n or \t that
gets passed to a regex.  That means that the regexes actually
contain tabs or newlines, respectively.  After this change
an actual '\t' and '\n' are passed in instead.

I have not tested this!  I am writing this patch based on
the assumption that /surely/ the original authors meant
to pass in \t and \n to the regex and not actual tab
or newline characters.
2019-03-05 21:09:13 +00:00
Andrew Bogott
43b321ce91 Replace a bunch of \\ escapes with raw strings
There are a few cases where changing to a raw string
will change the behavior; I'll address that in a later patch.
2019-03-05 20:05:59 +00:00
Andrew Bogott
b9dda552db flake8: resolve W605 'invalid escape sequence' warnings
This patch scares me since every fix involves adding a character
to a regex.  I am /pretty sure/ that this is a no-op but I don't
have the capacity to test this beyond what tox can do.
2019-03-05 19:01:05 +00:00
Andrew Bogott
bfe2d1f3ba flake8 fixes: correct some indentations 2019-03-05 16:36:11 +00:00
Anders Ingemann
99bc43bbe9
ansible: Add task that removes the $HOME/.ansible directory on guest
If ansible_ssh_user is set through extra_vars, ansible will
create a .ansible directory in the home dir of that user.
However, it will be owned by root, which is not what ansible
will be expecting when it is provision through SSH at a later date.
2018-07-19 16:52:32 +02:00
Anders Ingemann
bbde39e4fc
admin_user: Remove verbose info about how the key is fetched
There is no need to reiterate what the user has already specified
in the manifest.
2018-07-10 15:04:03 +02:00
Kirk Hansen
ba263e475d Added pip3_plugin 2018-06-14 10:19:55 -05:00
Veli-Matti Lintu
68d7ddb307 Commit 701678c9 changes print statements to print functions with end=' '.
As the printed strings contain newlines, this causes a space to be written
as the first character of the following line causing them to be indented.

An example config that is broken. Here disabling modules indents all the
other lines of cloud.cfg except the first one causing the username name
setting to fail as it expects indenting to be certain number of spaces.

plugins:
  cloud_init:
    metadata_sources: Ec2
    username: admin
    disable_modules:
      - locale
      - mounts

This commit removes the spaces by specifying end=''.
2018-06-13 13:20:05 +03:00
Anders Ingemann
7e6a7d4267
Merge pull request #471 from CMeza99/pylint+imports
Pylint code clean up
2018-06-07 22:09:33 +02:00
Ilarion Ishkulov
19c241be2c Add libvirt support for vagrant plugin 2018-04-29 21:22:54 +03:00
Carlos Meza
1ec736038c pylint E1608(old-octal-literal) 2018-04-09 22:27:43 -07:00
Carlos Meza
43e54d26cc pylint E1601(print-statement) 2018-04-09 22:27:29 -07:00
Carlos Meza
4e1a5922f7 pylint W0621(redefined-outer-name) 2018-02-25 10:27:53 +00:00
Carlos Meza
23ec568d3c pylint W0703(broad-except) 2018-02-25 09:43:47 +00:00
Carlos Meza
b180f66ef0 pylint E1101(no-member) 2018-02-25 09:34:12 +00:00
Carlos Meza
149173ef62 pylint W0622(redefined-builtin) 2018-02-25 08:37:24 +00:00
Carlos Meza
d86f9e94b5 pylint W0404(reimported) 2018-02-25 08:37:24 +00:00
Carlos Meza
4e1864aa2b fix pylint W0403(relative-import) paths 2018-02-25 08:37:17 +00:00
Carlos Meza
6e183914ac fix pylint W0403(relative-import) 2018-02-25 04:12:24 +00:00
Carlos Meza
c068ba07ab pylint len-as-condition 2018-02-19 00:31:12 -08:00
Anders Ingemann
febb7e8a1d
Merge pull request #458 from CMeza99/mobify
Add Docker specific settings
2018-02-14 07:28:10 +01:00
Carlos Meza
c19eb61bbf add docker specific settings 2018-02-14 03:53:33 +00:00
Carlos Meza
d31cc3a34c expose ability to no compress qcow 2018-02-11 23:15:32 +00:00
Carlos Meza
a1fc143059 compress qcow2 when shrinking 2018-02-11 00:04:16 +00:00
Carlos Meza
a3584e6de9 remove squeeze support 2018-02-08 06:02:20 +00:00
Marcin Engelmann
650b3b1f98 qemu-img also supports raw and qcow2 formats, so let's allow shrinking them too 2018-01-21 09:57:35 +01:00
Marcin Engelmann
44c5c17bf8 Change location of expand-root script and drop .sh extension 2018-01-20 20:02:30 +01:00
Marcin Engelmann
8e92cf7db9 Add comment-header to files deployed by bootstrap-vz (resolves #429) 2018-01-20 18:18:56 +01:00
Anders Ingemann
10f061ad13
Merge pull request #434 from liori/tmpfs_workspace
tmpfs_workspace: Plugin for having workspace on tmpfs for speed
2018-01-20 14:12:29 +01:00
Tomasz Melcer
152d122250 tmpfs_workspace: Plugin for having workspace on tmpfs for speed 2018-01-20 05:30:59 +01:00
Tomasz Melcer
c08a8cf344 minimize_size: Typo in temporary file name 2018-01-17 00:46:52 +01:00
Tomasz Melcer
75e0ce86f0 minimize_size: New option for qemu-img-based shrinking 2018-01-13 03:20:48 +01:00
Tomasz Melcer
6a96a2b5b1 minimize_size: Split AddRequiredCommands into command-specific tasks 2018-01-13 02:34:28 +01:00
Marcin Engelmann
aee8e63426 Change location of systemd unit from /lib/systemd/system to /etc/systemd/system 2018-01-08 17:55:39 +01:00
Alex Hegedus
fc569bcac5 Added password-cryped to root_password plugin 2017-11-28 22:15:48 -08:00
Alex Hegedus
f95f62588b Added password-crypted to root-password plugin 2017-11-28 09:38:15 -08:00
Anders Ingemann
df32bf4792
ec2: Move cloud-init mount tuning to cloud-init plugin
Fixes #406
2017-11-09 20:16:19 +01:00
Anders Ingemann
6dac2abd7b
pep8: Fix E722 do not use bare except' 2017-11-09 20:06:51 +01:00
Anders Ingemann
4cb1065551 Merge pull request #400 from Exy13/doc
Update misleading documentation
2017-10-02 13:50:12 +02:00
Brendan Harley
1ee5f7deb8 Update doc 2017-09-11 16:45:31 +02:00
Hugo Antonio Sepulveda Manriquez
8e8d4249ec Stretch update commit
* updated module to allow for puppetlabs PC1 release install in
  Debian Stretch. Tox is green.
2017-09-03 14:50:37 +02:00
Hugo Antonio Sepulveda Manriquez
390b59b22b Puppet tasks fix commit
* fixed an issue where apt sources get written before the 
  InstallPuppetlabsPC1ReleaseKey task is performed. added a successor
  to the task.
* tox is green
2017-08-11 16:09:29 +02:00
Anders Ingemann
9364b18288
commands plugin: Run copy files before running commands
This is quite useful in situations where you want to do something
with the assets that you have copied into the image.
One could argue for the opposite case as well, but with the
commands plugin you always have the manual "cp" escape hatch.
2017-08-02 15:42:13 +02:00
Anders Ingemann
7913246c2d
ansible: Remove erroneous whitespace 2017-07-26 14:37:24 +02:00
Anders Ingemann
ddaf40289b
ansible: Fix extra_vars so that it actually works
Also remove tmp_cmd var and fix manifest schema
2017-07-26 14:09:55 +02:00
Anders Ingemann
84db19605a
ansible hosts -> groups 2017-07-14 19:48:45 +02:00