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

creating gridmapdir #6

Open
kashif74 opened this issue Feb 28, 2014 · 1 comment
Open

creating gridmapdir #6

kashif74 opened this issue Feb 28, 2014 · 1 comment

Comments

@kashif74
Copy link
Member

Hi Robert
Can we create gridmapdir in pool_acconts.pp like this
if $create_gridmapdir_entry {
ensure_resource ( 'file', '/etc/grid-security/gridmapdir/', { 'ensure' => 'directory'} )
}
I am not sure that how it will affect creation of gridmapdir in simple.pp

@rwf14f
Copy link
Contributor

rwf14f commented Mar 4, 2014

I think it would be better to create it at a higher level, my latest version creates it in init.pp. I don't know how you use the module, so I can't say what reason you have to want it in pool_accounts.pp. The latest version defines the user accounts as virtual resources and pool_account.pp just collects them. If you really need to create the resources in pool_accounts.pp then that's fine because simple.pp uses virtual/pool_accounts.pp directly, so it won't interfere. We would have to remove it from init.pp though as well.

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

No branches or pull requests

2 participants