Hi avenk
I think you just need to change from declaring *undef* to using an empty
array. The code will throw the error where the class is *NOT called* with
*$enable_ipv6_localhost
= true*,
Change:
*$my_localhost6_aliases = undef*
to
*$my_localhost6_aliases = []*
As your own code is throwing
Just for FYI sake if, may help someone that stumbles across this thread.
On ubuntu at least, desktop users must have a uid > 1000 to be able to
login to the desktop via gnome.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe fro
Hi Mamta
This is not really a puppet issue, you have no space left on the device.
What puppet master files can you delete, well reports would be one, if you
have them enabled and if you wanted to. They normally reside:
/var/lib/puppet/reports//*.yaml
However you may want the data in the futur
Hi John
Thanks, that will solve my immediate requirement. Trying to keep it as
puppet DSL and simple as possible. However, I will check out the
create_resources() function further. Thanks for the pointers.
--
You received this message because you are subscribed to the Google Groups
"Puppet
Apologies
app::thing { 'foo':
config_templates = ['foo.conf', 'foo.more.conf']
}
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/puppet-users/-/tsXtAlEp-8sJ.
To post to
Hi
I am sure that there is some way to iterate an array and do something for
each in. It must be a wheel that has been invented (even if in a ruby
function)?
I have needed to do something like this a few times now and I reckon
someone clever has already done it :)
Using a normal bash type fo
OK then.
command => "mkdir -p $(dirname ${home})",
That does it.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/puppet-users/-/1LLoBIiTMZ4J.
To post to this group,
Dreaded. I have found that using the .dot files that puppet --graph option
produces sometimes helps see those dreaded dependency cycle issues (and
some times it does not). I recommend graphviz for anyone on linux for
generating png files for the .dot files (not sure for Windows).
On my setup
So as a variable I get passed in $home and it may be for example
> /first/second/userdirectory where first and second may not exist.
>
> So I wanted to do a simple exec command which does the following if I were
> to do it at the command line:
>
> mkdir -p ${home%/*}
>
> ...this would make /fi
There are a number of ways to achieve that.
One would be to.
file { [ '/first', '/first/second' ]:
ensure => directory,
owner => 'root',
group => 'root',
mode => '0755',
before => User['julia'],
}
user { 'juila':
ensure => present,
gid => 'julia',
groups=> ['u
Once again Stefan, thanks. That explanation makes sense.
"The thing between <% and %> will be interpreted as ruby code but you mix
> in erb syntax inside this ruby fragment.
>
I once read somewhere that erb was really flexible. I guess not that
flexible :)
Regards
Gary
--
You received this
he each do
context.
However, for the time being problem solved, thanks for the time.
Regards
Gary
On Tuesday, July 24, 2012 6:12:27 PM UTC+1, Stefan Schulte wrote:
>
> On Tue, Jul 24, 2012 at 08:08:30AM -0700, earthgecko wrote:
> > Quick erb question:
> >
> > Can you use a if
Quick erb question:
Can you use a if val in an each do iteration? And if so... how :/ If
someone knows and is kind enough to shed some light.
Trying to figure what will work and the following do NOT work.
<% hosts.each do |val| %><% if val != "<%= hostname %>" %> host (<%= val
%>);<% end %>
Hi Tim
I had a similar question in
https://groups.google.com/forum/?fromgroups#!topic/puppet-users/fhHYT3LkBoE
but spent a while figuring out and testing what is possible. Hopefully
this will help you or someone work their way around a corner.
Puppet Environments
* Common modules, environmen
Sound like you only have the passenger gem installed, it needs to install
the apache module. Here is a snippet from a Centos puppet build.
init.pp
#
# modules/passenger/manifests/init.pp
class passenger {
package { 'rack':
ensure => '1.1.0',
provider => 'gem',
re
Due to the documentation not being specifically clear with regards to node
level variables and scoping. In 2.7 node variables they are local scope.
Therefore in your templates you call the ldap_server variable NOT
::ldap_server as it is not a top scope variable.
As I say, the document is not s
Possibly the templates in question are being evaluated before the
module_vars.pp Check the master log for something like:
"Could not look up qualified variable 'module::module_vars::var';
class module has not been evaluated"
G
--
You received this message because you are subscribed to the Goog
I just want to sanity check this before reinventing the wheel or more
importantly doing something outside the "norm" which may come back to
bite me on another puppet version release.
Current versions - master 2.7.12, client 2.7.13.
It appears that although puppet environments allows for environme
Currently the puppetca CA password is set to 'secret'
How would one go about changing it? I agree with puppetlabs
documentation that you should be an SSL expert to implement your own
CA. I am not. However I would like to use puppet's CA PKI
infrastructure with ActiveMQ over TLS and it is seems
19 matches
Mail list logo