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

De-referencing a list for iteration does not work #12

Open
neilhwatson opened this issue Jan 5, 2015 · 1 comment
Open

De-referencing a list for iteration does not work #12

neilhwatson opened this issue Jan 5, 2015 · 1 comment
Assignees
Labels

Comments

@neilhwatson
Copy link
Owner

Lists from efl_global_slists will not work if you attempt to de-reference them. See https://dev.cfengine.com/issues/6866

Workarounds:

You must call the lists directly, or do not use efl_global_slists and build them directly in policy like this:

bundle common list_backup
{
  vars:
     "policy_servers" slist => { "${sys.policy_hub}" };
     "localhost"      slist => { "localhost" };
}
@neilhwatson neilhwatson added the bug label Jan 5, 2015
@neilhwatson neilhwatson self-assigned this Jan 5, 2015
@neilhwatson
Copy link
Owner Author

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

No branches or pull requests

1 participant