Skip to content
This repository has been archived by the owner on Jul 9, 2020. It is now read-only.

Conversation

edestecd
Copy link
Contributor

@edestecd edestecd commented Jun 9, 2016

No description provided.

post: []
tries: 10

<% unless @host.param_false?('reboot') -%>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm worried about this behaviour change, and wonder if the default should be not to upgrade/reboot and have it opt-in?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, I agree with that. Seems like more will not want this in a cloud environment.

@domcleal
Copy link
Contributor

domcleal commented Jun 10, 2016

Also documentation for these parameters would be great.

@edestecd
Copy link
Contributor Author

Where would you like documentation? At the top of the template, with a line for each param, like others?

@domcleal
Copy link
Contributor

Yep, top of the template please.

@edestecd
Copy link
Contributor Author

hmm other templates use dasherized params, while this one uses underscore.
Should we keep it underscore or try to make it consistent by switching the two existing params to dash?

@domcleal
Copy link
Contributor

It's probably better to prefer dashes if that's what the majority use already.

@edestecd edestecd force-pushed the Feature/15360-UserData_default_should_Patch_the_system_and_reboot branch from b91e003 to 9d9cb7c Compare June 15, 2016 13:49
@edestecd
Copy link
Contributor Author

Other templates are using the param 'ssh_authorized_keys' and I have seen others with underscore like 'salt_master'.

Its a mixed bag at this point. I'm not willing to change them all. Seems like that could break for many that are already using them.

@edestecd
Copy link
Contributor Author

@domcleal I think I fixed everything

@domcleal domcleal merged commit 5581214 into theforeman:develop Jun 16, 2016
@domcleal
Copy link
Contributor

Thanks @edestecd!

@edestecd edestecd deleted the Feature/15360-UserData_default_should_Patch_the_system_and_reboot branch June 16, 2016 16:34
derektamsen pushed a commit to squarit/community-templates that referenced this pull request Jan 18, 2017
ares pushed a commit to ares/community-templates that referenced this pull request Aug 14, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants