Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes #6618 - provide an indentation helper for provisioning templates #1586

Closed
wants to merge 1 commit into from

Conversation

Projects
None yet
3 participants
@stbenjam
Copy link
Member

commented Jul 15, 2014

This is useful for OpenStack cloud-init templates, where I want to use existing Foreman snippets but need to indent every line. e.g. indent 4, snippet("foo")

@lzap

This comment has been minimized.

Copy link
Member

commented Jul 16, 2014

LGTM

@@ -49,7 +49,7 @@ class Jail < ::Safemode::Jail
allow :name, :diskLayout, :puppetmaster, :puppet_ca_server, :operatingsystem, :os, :environment, :ptable, :hostgroup, :location,
:organization, :url_for_boot, :params, :info, :hostgroup, :compute_resource, :domain, :ip, :mac, :shortname, :architecture,
:model, :certname, :capabilities, :provider, :subnet, :token, :location, :organization, :provision_method,
:image_build?, :pxe_build?, :otp, :realm, :param_true?, :param_false?, :nil?
:image_build?, :pxe_build?, :otp, :realm, :param_true?, :param_false?, :nil?, :indent

This comment has been minimized.

Copy link
@domcleal

domcleal Jul 24, 2014

Contributor

You may wish to add indent to test/unit/host_jail_test.rb

This comment has been minimized.

Copy link
@stbenjam

stbenjam Jul 28, 2014

Author Member

Done

@lzap

This comment has been minimized.

Copy link
Member

commented Jul 28, 2014

Merged as b6983d0 for Foreman 1.6. Thanks!

@lzap lzap closed this Jul 28, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.