Last active
September 29, 2015 04:27
-
-
Save ohadlevy/1546708 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$hosts = foreman(item => 'hosts', | |
search => 'last_report > "1 week ago" and hostgroup = Clients', | |
per_page => 1000) | |
vpn_access{$hosts: ensure => enabled} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
where is this function vpn_access defined ? I am trying to use something similar and its' getting complicated as i am not using any hostgroup in my setup and the value is coming as nil.