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

default policy management is now optional #184

Merged
merged 2 commits into from
Feb 26, 2016

Conversation

bovy89
Copy link
Contributor

@bovy89 bovy89 commented Feb 25, 2016

No description provided.

@jyaworski
Copy link
Member

What is the use-case for this?

@bovy89
Copy link
Contributor Author

bovy89 commented Feb 25, 2016

I don't want to manage default admin/api policy with an hash conf. I need to manage it with a custom erb template

@jyaworski
Copy link
Member

It looks like we have a couple of undocumented parameters.

 $api_template = $rundeck::params::api_template,
 $acl_template = $rundeck::params::acl_template,

Does this suit your needs?

@bovy89
Copy link
Contributor Author

bovy89 commented Feb 25, 2016

These parameters seem unused. Template file path is hardcoded
content => template("${module_name}/aclpolicy.erb"),

@jyaworski
Copy link
Member

Huh. Could this PR be to actually make those do something, then?

Good catch.

group => $group,
properties_dir => $properties_dir,
}
if($manage_default_policy == true){
Copy link
Member

Choose a reason for hiding this comment

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

This could just be:

if $manage_default_policy {

@bovy89 bovy89 force-pushed the feature/manage_default_policy branch from 32fbaec to cef6d04 Compare February 25, 2016 15:45
@bovy89 bovy89 force-pushed the feature/manage_default_policy branch from cef6d04 to 17cb814 Compare February 25, 2016 16:01
jyaworski added a commit that referenced this pull request Feb 26, 2016
default policy management is now optional
@jyaworski jyaworski merged commit 2564ed2 into voxpupuli:master Feb 26, 2016
@bovy89
Copy link
Contributor Author

bovy89 commented Feb 29, 2016

@jyaworski Can you release a new version of this module asap?

Thanks

@jyaworski
Copy link
Member

@bovy89 why the rush?

@liamjbennett I believe we just released a new module a short time ago. Should this go in anyway?

@bovy89
Copy link
Contributor Author

bovy89 commented Feb 29, 2016

I just wanted to know if was possible a new release of this module in a couple of days; otherwhise I need to include my feature in another way

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants