t::FileSystem.directory?(d) }.shift // this code looks like a
hack
On Tue, Dec 1, 2015 at 8:07 PM, Vasil Mikhalenya wrote:
> Hi all,
>
> Could you suggest the right way to determine the path to the current
> environment in puppet function? I want to store some data outside the
> modules
s".
files_dir = lookupvar("ssh_key_groups::path_to_keys")
files_dir = "files"
files_path = env.modulepath.map{|d| d.sub("modules", "")+files_dir }.select
{ |d| Puppet::FileSystem.directory?(d) }.shift
--
Best regards,
Vasil Mikhalenya
--
You received
t;)
which is creepy a bit and does not work in Vagrant because of modules-\d
Thank you.
--
Best regards,
Vasil Mikhalenya
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it,
receiving emails from it, send an
> email to puppet-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/5a518de3-e563-4e2c-867f-80c859b8767e%40googlegroups.com
> .
> For more options, visit https://groups.google.
Hi all,
could you advice any way to put a message in puppet agent output from
puppet function on master.
--
Best regards,
Vasil Mikhalenya
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop
ewproperty(:groups, :array_matching => :all) do
munge do |group|
if does_not_exists(group)
nil
else
group
end
end
iterates on all array items and returns array with nil items. Is there way
to remove items from array in munge.
Thanks.
--
Best regards,
Vasil Mikhalenya
post bug?
--
Best regards,
Vasil Mikhalenya
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscr...@googlegroups.com.
To post to this gro
To post to this group, send email to puppet-users@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>
--
Best regards,
Vasil Mi
Hi all,
simple custom function solved my problem with granting access.
I shared code at http://forge.puppetlabs.com/bazilek/ssh_key_groups
On Wed, Oct 24, 2012 at 7:01 PM, Vasil Mikhalenya wrote:
> Hi all,
>
> please, advice me best solution to manage ssh keys in my situation:
>
Exec was run sucessfully
my.cnf was changed a long time ago ($outfile was removed in that time
also). I suppose Exec started to fail after changing mysql password.
Could puppet cache /root/.my.cnf and reread it only after reboot.
I see no other explanation. Is it bug?
thanks in advance
--
Best r
way to maintain groups ( sets ) easily? I use user
creation wrapper and I want to specify key_set => set1 in wrapper
parametres in manifest.
--
Best regards,
Vasil Mikhalenya
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post
to
>> puppet-users+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/puppet-users?hl=en.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" grou
=> "db1" }
wg::web::vhost { "bar": vhost => "vhost1", db => "db2" }
}
In case of 2 vhosts per node user apache in define is duplicated.
How can I get apache to become a member of all users groups ( name
passed via $title )
Thank you
-
13 matches
Mail list logo