Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-10-11 | Add a comment explaining the param path logic | Joshua Harlow | |
2014-10-11 | Allow running even if installed | Joshua Harlow | |
Standardize on using the chef_cfg key 'exec' which can be used when installing to tell the caller to run the chef client or can also be used if the client is already installed and its requested to be ran. To retain existing behavior 'exec' does not by default assume to be true, unless explicitly provided or a gems mode install is requested. | |||
2014-10-11 | Follow the same constant variable naming scheme for the path tpl keys | Joshua Harlow | |
2014-10-11 | Have the caller find the param paths instead of the param creator | Joshua Harlow | |
2014-10-11 | Ensure that any template paths have associated directories | Joshua Harlow | |
When the template provides a path, make sure that before the template is written that the path that is now in the template has the associated directory created (if not already created). | |||
2014-10-11 | Move the chef running to its own helper function | Joshua Harlow | |
2014-10-11 | Always ensure we create the /etc/chef dir | Joshua Harlow | |
2014-10-11 | Use the util function to get the chef base directories | Joshua Harlow | |
2014-10-11 | Allow the omnibus url fetching retries to be configurable | Joshua Harlow | |
2014-10-11 | Allow for the running after install and run arguments to be configured | Joshua Harlow | |
Instead of only running the client when installed from gems, allow it to be ran from other install modes as well (if configured) and allow the arguments that are passed to the client when ran to be altered (if so desired). | |||
2014-10-11 | More adjustments | Joshua Harlow | |
- Use the generated_by() utility function to give the ruby template a better header comment - Set special parameters after selecting the basic chef parameters. | |||
2014-10-11 | Some more reworkings | Joshua Harlow | |
- Make a helper function to tell if already installed. - Have the install routine not run chef after installed but have it instead return a result to tell the caller to run the chef program once completed. | |||
2014-10-10 | Move the installation code to its own function | Joshua Harlow | |
2014-10-10 | Add a few template delete tests | Joshua Harlow | |
2014-10-10 | Fix newline added at end of file | Joshua Harlow | |
2014-10-10 | Undo changes to the util file, not sure why that happened... | Joshua Harlow | |
2014-10-10 | Increase the robustness of the chef module | Joshua Harlow | |
Add the following adjustments to the chef template and module - Make it so that the chef directories can be provided (defaults to the existing directories) - Make the params much more configurable, and if a parameter is provided in the chef configuration it will override existing template parameters. - Make the template skip lines if the values are None in the configuration so that template lines can be removed if/when this is desirable. - Allow the firstboot json path to be configurable (defaults to the existing location). - Adds a basic set of tests to ensure that good things are happening. | |||
2014-10-08 | freebsd: enable correct behavior on Ec2. | Scott Moser | |
Take care of FreeBSD nic devicenames since they differ depending on the platform involved. Xen/KVM use different drivers, which results in different device names. | |||
2014-10-08 | new: The Ec2 datasource works for FreeBSD as well. | Harm Weites | |
2014-10-08 | fix: Use continue to skip inside a loop. | Harm Weites | |
2014-10-08 | fix: Take care of FreeBSD nic devicenames since they differ depending | Harm Weites | |
on the platform involved. Xen/KVM (Azure?) use different drivers, which results in different device names. | |||
2014-10-02 | freebsd: Use the proper virtio FreeBSD network interface name. | Scott Moser | |
2014-10-01 | cc_mounts: add ability to create swap file | Scott Moser | |
User can now configure setting of a swap file. Only supports un-encrypted swap for now. swap: filename: /swap.img size: "auto" or size in bytes maxsize: size in bytes Also adds 2 util: read_meminfo: return how much memory on system. human2bytes: convert human numbers (8G) to bytes. | |||
2014-10-01 | return only the filename, as it might be all known | Scott Moser | |
2014-10-01 | message clean up | Scott Moser | |
2014-10-01 | remove debug print | Scott Moser | |
2014-10-01 | fix | Scott Moser | |
2014-10-01 | check for existing file in /proc/swaps to be safe. | Scott Moser | |
2014-10-01 | pyflakes | Scott Moser | |
2014-10-01 | handle non-dictionary 'swap' input | Scott Moser | |
2014-10-01 | nice log message | Scott Moser | |
2014-10-01 | add debug statement for recommended | Scott Moser | |
2014-10-01 | maxsize must be 'None' otherwise it is zero, and no swap allowed | Scott Moser | |
2014-09-30 | support human2bytes, separate handling out to method | Scott Moser | |
2014-09-30 | add doc | Scott Moser | |
2014-09-30 | add code for setting up swap file | Scott Moser | |
2014-09-30 | FreeBSD: Support ConfigDrive | Scott Moser | |
Add support for freebsd reading config drive. Primary work is related to re-factoring mount_cb to not be so linux specific. Other changes: * declare PATH in freebsd initscripts * list dependency on e2fsprogs (for blkid) * enable ConfigDrive in freebsd config * hosts.freebsd.tmpl added | |||
2014-09-29 | add ConfigDrive for freebsd config by default | Scott Moser | |
2014-09-29 | sysvinit/freebsd: set sane PATH | Scott Moser | |
2014-09-29 | tools/build-on-freebsd: e2fsprogs provides blkid | Scott Moser | |
2014-09-29 | tools/build-on-freebsd: add blkid and e2fsprogrs | Scott Moser | |
2014-09-29 | tools/build-on-freebsd: sort pkgs list | Scott Moser | |
2014-09-29 | further platform cleanup | Scott Moser | |
2014-09-29 | fix re-use of 'platform' in local scope | Scott Moser | |
2014-09-22 | support 'mtype' as a list, and fix up freebsd mount types | Scott Moser | |
this supports a list of input, and cleans up that list for the platform specific mount types. Basically, mtype = None means 'mount -t auto' or the equivalent for the platform. and 'iso9660' means "iso type". | |||
2014-09-22 | merge from trunk | Scott Moser | |
2014-09-17 | MetadataMaterializer support custom leaf decoder | Scott Moser | |
This allows the caller to supply their own leaf decoder, which will then be in charge of translating the content of the url. | |||
2014-09-17 | cc_grub_dpkg consider /dev/xvda as a candidate for grub installation | Scott Moser | |
HVM instances on EC2 have grub on /dev/xvda. The bug here resulted in a prompt on grub update. LP: #1336855 | |||
2014-09-15 | resizefs: fix backgrounded resizing | Scott Moser | |
add kwargs to fork_cb, and utilize that to call log_time and pass through the provided args to resize_cmd. LP: #1338614 | |||
2014-09-15 | merge from trunk | Scott Moser | |