Yes the command exit with succes from a root shell.
I'm gonna try to use exec environment parameter.
Thx
--
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
Thnaks for your answer Martin.
Here is the beginning of the stack:
[0;36mDebug: Executing '/bin/sh -c source /etc/profile &&
/opt/openam/bin/openam_install.sh install cm > /opt/openam/install.log' [0m
[0;36mDebug: /Stage[main]/Openam::Config/Exec[openam_install]/returns:
Certificate was adde
Hi,
I'm trying to install openam with puppet. To do this i'm using an exec
resource:
exec { 'openam_install':
command => "source /etc/profile && /opt/openam/bin/openam_install.sh install
${::env} > /opt/openam/install.log",
provider => shell,
creates => '/var/lib/tomcat/webapps/sso',
}
No, the command to get the hiera variable value (hiera nom) doesn't work.
The common.yaml file contents:
---
apache_packages_list:
- apr-1.4.8
- apr-devel-1.4.8
- apr-util-1.5.2
- apr-util-devel-1.5.2
- distcache-1.4.5
- distcache-devel-1.4.5
- httpd-2.4.6
- httpd-tools-2.4.6
- mod_ssl-
Hi,
I've been using hiera for several weeks now and all was working fine til
few days ago when i started to get that kind of message:
Error: Could not retrieve catalog from remote server: Error 400 on SERVER:
Could not find data item nom in any Hiera data file and no default supplied
on node d0
It was due to some kind of syntax error (= missing) :
<%= scope.lookupvar('apache::config::servername') %>
--
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 pupp
Hi,
I'm trying to use variables stored in hiera files in module templates. I
read it's better to avoid to use hiera function in templates so i tried to
get the hiera value in the config.pp manifest with a local variable.
Then to use the local variable in the template, but it doesn't work.
*comm
I have a file accounts.victorbuckservices.com.conf and not an .erb template.
It seems a little weird to me that we have to use template function either
for .erb template or file backend.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubs
Hi,
I'm using hiera with puppet and i want to store my resources out from the
modules, in hieradata directory.
Here is my hiera.yaml file:
---
:hierarchy:
- common
#- %{operatingsystem}
- %{::hostname}
:backends:
- yaml
- file
:yaml:
:datadir: '/etc/puppet/hieradata'
Thanks a lot Jose, i appreciate your help :)
Le vendredi 30 mai 2014 15:53:42 UTC+2, Jose Luis Ledesma a écrit :
>
> Class vstar::apache should be in
>
> /etc/puppet/modules/vstar/manifests/apache.pp
>
> To allow autoloader find it.
>
> Regards,
> El 30/05/2014 15
Hi,
I'm statrting using puppet with role/profile pattern and i'm facing a
problem.
I use puppet 3.4.3 with a master running on red hat 2.6 and a client on a
local VM centOS 6.5.
When i try to test my code with the command above i got an error : Error
400 on SERVER could not find class vstar::apa
11 matches
Mail list logo