=<%= $database_conf[$key]['oracle_cms_jdbc_driver']
%>
<% } -%>
Andreas Dvorak schrieb am Donnerstag, 10. September 2020 um 08:10:26 UTC+2:
> Hi,
>
> I have this structure in hiera and want to use it in a inlined-epp file
>
>
>
>
>
>
>
>
&
Hi,
I have this structure in hiera and want to use it in a inlined-epp file
*cms::params::database_conf: 'oracle_cms_dev':oracle_cms_jdbc_schema:
'CMS_DEV'oracle_cms_jdbc_user: 'CMS_DEV'oracle_cms_jdbc_driver:
'oracle.jdbc.OracleDriver'oracle_cms_jdbc_url: 'jdbc:oracle
Hi,
>
>
I have
Puppet Agent v6.14.0. and puppetserver version: 6.10.0.
Do I need to update?
Andreas
--
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
Hi,
according
to https://puppet.com/docs/puppetserver/latest/config_file_puppetserver.html
the maximum of max-active-instances is 4.
max-active-instances: Optional. The maximum number of JRuby instances
allowed. The default is ‘num-cpus - 1’, with a minimum value of 1 and a
maximum value of 4
Hello,
I am trying to use the deferred function according to the
page http://puppet-on-the-edge.blogspot.com/2018/10/the-topic-is-deferred.html
My code does not show the time. Does anybody has a solution?
notify {"time_now":
message => Deferred('new', [TimeStamp])
}
$d = Deferred('new', [Tim
Great thank you.
Years ago we created the fact.
Am Freitag, 5. April 2019 18:54:04 UTC+2 schrieb Josh Cooper:
>
>
> On Thu, Apr 4, 2019 at 11:45 PM Andreas Dvorak > wrote:
>
>> Hi,
>>
>> I have installed a new server with puppet 6.
>>
>> I get these
Hi,
I have installed a new server with puppet 6.
I get these errors with facter. Can somebody please help me?
facter -v
3.13.1 (commit 4e1df48f76caa0eaeee90af4239a1df450d45cd7)
facter -p osmajorrelease
Thread.exclusive is deprecated, use Thread::Mutex
/opt/puppetlabs/puppet/cache/lib/facter/me
thank you that was great help
the rpm puppet-agent bringt the ruby version 2.1
/opt/puppetlabs/puppet/bin/ruby -e 'p $:'
["/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.1.0",
"/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.1.0/x86_64-linux",
"/opt/puppetlabs/puppet/lib/ruby/site_ruby",
"/opt/pupp
pr0cess is installed. The older mcollective works fine with that location.
>rpm -ql ruby-pr0cess
/usr/lib/ruby/site_ruby/1.8
/usr/lib64/ruby/site_ruby/1.8/x86_64-linux
/usr/lib64/ruby/site_ruby/1.8/x86_64-linux/pr0cess.so
Do you know how to configure the location to the file or should I be it to
Hi,
thank you. That is a good tip. The log says:
D, [2017-10-19T12:50:04.972364 #13809] DEBUG -- : agents.rb:104:in `block
in findagentfile' Found ehyp at
/usr/libexec/mcollective/mcollective/agent/ehyp.rb
D, [2017-10-19T12:50:04.972530 #13809] DEBUG -- : pluginmanager.rb:167:in
`loadclass' Lo
Dear all,
I have an self written mcollective agent that does nocht work anymore,
after the Puppet und MCollective update. All other agents are working.
Does anybody has an idea?
The client is running:
mcollective 2.6.0
puppet 3.7.1
Centos 6
locate ehyp.rb
/usr/local/libexec/mcollective/mcollec
Dear all,
we are currently updating to Puppet Agent 4
(puppet-agent-1.8.2-1.el7.x86_64), but we don´t have an agent log.
How do I activate the Agent log?
With Puppet 3 we configured to create the Puppet Agent log
(/var/log/puppet/puppet_agent.log)
The file is written by the configuration
>cat
Thank you for the answer.
That will take some time to understand.
Andreas
--
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.
Hi,
now I have change it a little, but it still does not work.
class check_mk::agent::serverlist {
@@server_list { "$::hostname":
filename => '/tmp/checkmkhosts',
}
define server_list ( $filename ) {
ensure_resource ( 'file', $filename, {} )
}
}
class check_mk::server::serverli
Dear all
I would like to generate one file on a certain server with the hostname of
all server that have puppet. But the collection of the hosts does not work.
First try with the error duplicate resource
class check_mk::agent::serverlist {
@@file { '/tmp/checkmkhosts':
content => "$::hostnam
Hi Chad,
thank that is the solution.
Andreas
--
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 view this discussi
Dear all
if I do not list a server in the directory manifests e.g. in nodes.pp the
agent says:
puppet agent -t
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 400 on SERVER:
Could not find default node or by nam
Hi,
now I understand. Thank you.
Andreas
--
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 view this discussion on
Hi,
after the update of the puppet master from 3.3.1 to 3.6.2 a host gets a
catalog even if it is not defined in manifests. Is this a new
funcationality? I did not see anything in the release notes.
It gets a catalog with all the information from profiles::base
manifests/
cat site.pp
node defau
Dear all,
I would like to get the directory of the classfile. But I would like to use
the puppet config print classfile.
Currently my scripts looks like that.
require 'facter'
Facter.add(:puppet_classes) do
setcode do
dir = Facter.value('puppet_vardir')
lines_array = IO.readlines("#{d
Hi Toni,
thank you for the tip. That is an eays way to solve my problem.
Andreas
--
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...@googl
Hi,
thank you I will remove the two lines
external_nodes = /etc/puppet/node.rb
node_terminus = exec
from the puppet.conf file.
Andreas
Am Dienstag, 20. Oktober 2015 18:41:54 UTC+2 schrieb David Schmitt:
>
> Hi Andreas,
>
> On 20/10/2015 13:48, Andreas Dvorak wrote
Hello,
currently I am running a Puppet Master with Foreman for reports and ENC and
I have only one environment. The environment parameter in the file
puppet.conf is not used because Foreman is an ENC.
Now I want to configure different environments and want to set the
environment in the puppet.c
Hi,
now I found out that I need to create the new windows environment in The
Foreman. Than I change the server in The Foreman from production to windows.
Thank you.
Andreas
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe fro
>
> Hi,
>
I am using Puppet 3.6.2 free version. The node classification is done by
the node.pp file.
I do not understand the group. Where does the Puppet Master do the
overwritting of the environment?
Andreas
>
--
You received this message because you are subscribed to the Google Groups
"P
Hi,
I have created a new environment for windows server, but the agent does not
use it. Can somebody please help me?
message on agent run:
puppet local environment windows doesn't match server specified node
environment switching agent to production
puppet.conf of windows agent
[main]
Hi,
thank for the help.
I have solved the issue with the generate funktion.
$redhatfiles = generate("/bin/bash","-c","/bin/ls
/data/git/${zweig}/modules/networking/files/${::hostname}/network-scripts
2>/dev/null | tr -t '\n' ':'")
$redhat_interfaces = split($redhatfiles, ":")
r
Hello,
I have a module to copy files /etc/hostname.* in Solaris. But the interface
name can be any.
e.g.
networking/file/vm6742/hostname.e1000g0
networking/file/vm6742/hostname.e1000g1
I do not want to user file with recurse because the files in /etc have
different permissions.
Is it possible
Thank you that is nice
--
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 view this discussion on the web visit
https
Dear all,
I would like to use the fact zone_vm5809_iptype, but vm5809 is specific to
the host vm5809.
If this fact on any host is excl do something
Can somebody please help me?
I have tried:
if ( $::zone_${::hostname}_iptype == 'excl')
Could not match ${::hostname}_iptype
or
$hostname = $::host
Dear all,
after the update of the Pupppet Master from 3.3.1 to 3.6.2 the git push
with a pre-receive hook does not work. My local check does work. In my
pre-commit I have the same checks.
Is it possible that the git pre-receive hook does not find the file in
source?
Why does it work in version
27;"
}
Best regards
Andreas
Am Donnerstag, 26. Februar 2015 15:52:22 UTC+1 schrieb jcbollinger:
>
>
>
> On Thursday, February 26, 2015 at 2:39:51 AM UTC-6, Andreas Dvorak wrote:
>>
>> Hi,
>>
>> I have just tried the stdlib version 4.5.1.
>> According
Hi,
I have just tried the stdlib version 4.5.1.
According to the change log with version 4.5.0
"Don't require line to match the match parameter"
But my test does not work
file_line {'test':
ensure => 'absent',
path => '/root/.ssh/authorized_keys',
match => 'test',
}
Error: Fail
Dear all
now I tried
file_line {'test':
ensure => 'absent',
path => '/root/.ssh/authorized_keys',
line => 'test',
}
Line ssh-rsa SNNwKzN/c1JmSlYOy4hK1yYsOJKOK+n5Vivt3DJGwxL3VpU= test@abc is
still there
With
file_line {'test':
ensure => 'absent',
path => '/root/.s
Dear all
I would like to use the stdlib Modul with file_line to delete a line that
matches *xyz*.
But the resource
file_line {'delete line':
ensure => absent,
path => '/etc/file',
line => '*xyz*',
}
or
file_line {'delete line':
ensure => absent,
path => '/etc/file',
match =>
Hi John,
thank you for you help. Now it is working.
Andreas
--
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 view
Dear all
I am trying to install a Solaris package but it does work. Puppet uses -n
to run unattended, but interaction is required.
package{'CSWpkgutil':
ensure => installed,
source =>
"http://sv2653/repo/solaris/CSWpkgutil-${::hardwareisa}.pkg";,
}
Error message:
Execution
Hi,
you can check it on the server with facter -p name_of_fact
in a class
notify{"My fact: $::name_of_fact":}
Andreas
--
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 e
Thank you for the information. Now I have got a solution.
class facts::app_fact(
$app = hiera('app_fact',undef)
){
file{'/etc/facter':
ensure => directory,
owner => 'root',
group => 'root',
mode => '0755',
}
file{'/etc/facter/facts.d':
ensure => directory,
owne
Hi Nan,
yes it really looks like that.
I have puppet versin 3.3.1, but don't see an information in which version
it is solved.
Andreas
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails fr
Hi John,
the OS is RedHat 5 and 6.
Regards
Andreas
--
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 view this disc
Hi,
today I started working with roles in hiera, but somewhere must be
something wrong. In my test I would like to install a special version of
facter on the server vm6740 that does belong to my test role, but it is
installed the version from the common.yaml
cat hiera.yaml
---
:backends: yaml
Dear all,
I have a modul accounts to create user. That is working fine. Today I would
like to remove a user but it does not work.
Unfortunately I don't understand the error. Can you please have a look?
Error: No command localdelete defined for provider
Error:
/Stage[main]/Accounts/Accounts::Vi
Hi Wil,
thank you. The restart was missing.
So easy but I did not think about that.
Andreas
--
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+unsubs
Dear all,
thank you for the responses.
My class has serval different resources types.
If there is no eays solution, it does not matter.
Andreas
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving
Hi,
thank you for the answer.
No I don't have multiple facter installed.
find / -name facter
/usr/bin/facter
/usr/lib/ruby/site_ruby/1.8/facter
/var/lib/puppet/lib/facter
Andreas
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe f
After downgrade facter to 1.7.1 the error is gone.
Then I did the update again and the error was back again.
I have many server that already have the version 2.1, without an update.
I don't understand why the update does not work.
--
You received this message because you are subscribed to the G
Dear all,
since today the puppet agent does not work anymore if it is executed by
service.
I prints out:
Could not retrieve local facts: Could not find fact 'define_fact'
If I run puppet agent -t I do not get the message.
I have updated facter from 1.7.1 to 2.1 and hiera from 1.2.1 to 1.3.4
I h
Hi,
thank you, the line
content => $a ? { '' => template($template), default => $a }
solves my problem.
Best regards,
Andreas
--
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, se
Hi,
no I habe a puppet master.
Best regards,
Andreas
--
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 view this di
Dear all,
I would like to use the file resource to supply a host specific file. If it
does exist choose it and if not create a file from a template.
I tried this, but then /mnt/motd needs to be on all server.
$a = file("/mnt/motd/motd-${::hostname}",'/dev/null')
if($a != '') {
file {$con
Dear all,
suddenly I found the solution:
network_interface::device_list:
eth0:
ipaddr: 10.112.67.40
netmask: 255.255.0.0
eth1:
ipaddr: 10.15.67.40
netmask: 255.255.0.0
class network_interface (
$device_list={}
){
create_resources('network_interface::managed_interface',$dev
Hi,
I would like to create network interfaces with puppet.
I have
define network_interface::managed_interface(
$device='',
$gateway='',
$hostname='',
$hwaddr='',
$ipaddr='',
$netmask='',
$network='',
$up=true,
){
and
class network_interface::create_interface (
$device = hiera(..
Dear all,
I have a class with many resource that should only run at one certain time.
I could add a schedule to every resource, but that is the same line at all
the resources.
Is there a solution to schedule the whole class at one place.
something like this
include abc {
schedule
}
Best
Dear all,
I have a modul to install the apache webserver and I have server with
different maintainance time frames.
So I can not create a schedule in the apache modul to install it a a
certain time.
Is it possible to combine the include apache with a schedule.
For example the profile of server a
Hi Frederik,
my solution is to install all packages separatly.
This time is was not to much work, but with a package with more
dependencies is is bad.
Best regards,
Andreas
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from t
Hi Frederik,
the packages are all in the CSWsudo package.
I tried /opt/csw/bin/pkgutil -y -i CSWsudo and it has the same dependency
problem.
But /opt/csw/bin/pkgutil -N -i CSWsudo does work.
So I tried
package {'CSWsudo':
ensure=> installed,
provide
Hi Frederik,
/opt/csw/bin/pkgutil -a has the correct output
common package catalog
size
libgcc SMClgcc346 3.4.61.8
MB
libi
Dear all
I would like to install sudo vom opencsw. I have created one package with
all the dependencies.
I can install the package on the server without problems, but if I try to
install the package with puppet it fails.
Can somebody please help me?
class:
package {'CSWsudo':
I have made something wrong, now it does work
Am Freitag, 4. April 2014 10:48:39 UTC+2 schrieb Andreas Dvorak:
>
> Dear all,
>
> I would like so schedule the resource user.
> Sometime spezial user need a locally set password that should be reset hat
> night.
>
> Unfort
Dear all,
I would like so schedule the resource user.
Sometime spezial user need a locally set password that should be reset hat
night.
Unfortunately the resouce user does not have the option schedule. Does
somebody have a solution for that?
Best regards
Andreas
--
You received this message
Hi John,
thank you for your reply. You have found an other issue.
But my main problem is that the second call of "replace" is ignored.
I still do not understand the reason.
Best regards,
Andreas
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
Dear all,
ich habe a defined class, that is called two times in on class but only the
first call is executed.
baader::replace {'access notConfigGroup' is done, but not baader::replace
{'com2sec notConfigUser':
And baader::replace {'view all included': is done.
Can somebody please explain the rea
Hi,
thank you I think I do understand it.
Here is my solution
exec{ '/bin/sed \'\#^/home#d\' /etc/auto_master > /tmp/sed.tmp.$$ && mv
/tmp/sed.tmp.$$ /etc/auto_master'
and it works
Best regards,
Andreas
--
You received this message because you are subscribed to the Google Groups
"Puppet Users
Dear all,
I have several exec resources that work fine, but the puppet master throws
a syslog message
"Unrecognised escape sequence \# in file
/data/git/simulation/modules/base_modification/manifests/only_solaris.pp at
line 14"
14: exec{ "/bin/sed '\#^/home#d' /etc/auto_master > /tmp/sed.tmp.
Hi Derek,
can you please explain who to build the Solaris package?
Best regards
Andreas
Am Donnerstag, 7. Februar 2013 22:42:53 UTC+1 schrieb Derek Olsen:
>
> Rajeev.
>
> We run mcollective in a 100% Solaris shop. We have not encountered
> any Solaris specific issues. Email me if you want t
Hi,
I think the explaination of Gareth is wrong.
absend will uninstall a package
I am using absend to uninstall package and here is a web site about that.
http://www.puppetcookbook.com/posts/remove-package.html
Best regards
Andreas
--
You received this message because you are subscribed to th
Hi,
I think the explaination of Kaustubh is wrong.
absend will uninstall a package
I am using absend to uninstall package and here is a web site about that.
http://www.puppetcookbook.com/posts/remove-package.html
Best regards
Andreas
--
You received this message because you are subscribed to
Hi all,
I have an install routine that should never be executed by puppet
automatically.
But I would like to execute it sometimes by running something like this:
puppet agent -t --ignoreschedules --tags never
One idea is to create a schedule
class never{
schedule { 'never':
repeat => 0,
}
Hi,
thank you now it is working.
Best regards,
Andreas
--
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 view this
Hi,
I am trying this. config.pp of module logrotate
define logrotate::config{
case $::osfamily {
redhat:{
file { "/etc/logrotate.d/${conf_file}":
ensure => 'present',
owner => 'root',
group => 'root',
mode => '0644',
source => "puppet://${pup
Dear all,
with my class config.pp I would like to provide config file to
/etc/logrotate.d.
filename: config.pp
class logrotate::config($conf_file){
case $::osfamily {
redhat:{
file { "/etc/logrotate.d/${conf_file}":
ensure => 'present',
owner => 'root',
group
Dear all
thank you for helping me.
My solution is this:
require 'facter'
Facter.add(:spacewalk) do
confine :osfamily => "RedHat"
f = File.new("/etc/sysconfig/rhn/up2date")
text = f.read
if text =~ /sv2653/ then
setcode do "true" end
else
setcode do "false" end
end
Dear all,
I have RedHat Server with Puppet and logging in /var/log/puppet
But on Solaris it does not work.
I am using the CSWpuppet3 3.3.1
Do you have an idea?
cat /etc/puppet/puppet.conf
# puppet.conf
[main]
logdir = /var/log/puppet
confdir = /etc/opt/csw/puppet
config = $confdir/p
Dear all
I have a module spacewalk with a custom fact to define if the server has
been registered to spacewalk.
The module should only run on RedHat server
class profiles::base {
...
case $::osfamily {
redhat:{
include spacewalk
include logrotate
include postfix
}
Hi Jeff,
thank you for the information.
I think the "grep -v '^\s*import'" is working. First test are successfully.
Best regards
Andreas
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails
Dear all,
In git I have a pre-receive script to checkt the puppet files. My git push
comes with an error but if I run the same manually I get no error.
Can anybody please help me?
error message
remote: Checking manifests/nodes.pp for syntax errors and styleguide
compliance...
remote: 'puppet
Dear all,
I found the problem.
The package needs to be installed in the global zone. It does not work if
you install it only in the local zone.
Best regards
Andreas
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this grou
Hi,
I solved it with this:
if $programname == 'puppet-agent' and $syslogseverity <= '6' then
/var/log/puppet/agent.log
if $programname == 'puppet-agent' and $syslogseverity > '3' then ~
Regards,
Andreas
--
You received this message because you are subscribed to the Google Groups
"Puppet Users
Hi,
that info was nice to find out what syslogseverity the message "Finished
catalog". It is 5.
But I still do not understand why this message is send to the syslog server.
According to the line
if $programname == 'puppet-agent' and $syslogseverity <= '6' then
/var/log/puppet/agent.log
it should
Dear all,
I have Puppet 3.3.1 and rsyslog and RedHat 6.
My problem is that I want to see the message "Finished catalog" only in the
file /var/log/puppet/agent.log, but rsyslog sends it to the syslog server
and than to netcool. It is also shown in /var/log/messages.
I only want to see error messa
Hi Rich,
the package installs CSWruby18 VERSION: 1.8.7p334,REV=2011.03.24 and that
is supported.
Andreas
--
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 Rich,
I tried
/opt/csw/bin/puppet agent --test
bash: /opt/csw/bin/puppet: /opt/csw/bin/ruby18: bad interpreter: Invalid
argument
But unfortunately that does not help me. Have you got any idea?
Regards
Andreas
--
You received this message because you are subscribed to the Google Groups
"Pu
Now I have tried the version puppet3 CSWpuppet3
3.1.1,REV=2013.03.15 780.4 KB from testing branch.
but it has the same problem.
Regards,
Andreas
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from t
Dear all
the puppet agent does not want to start on my first Solaris zone. I have
already Puppet on x86 server running.
Can anybody please help me?
I have created a package for Solaris 10 Sparc to use the puppet agent on a
Solaris zone.
/opt/csw/bin/pkgutil -a puppet
common packa
Dear all,
now I have got the solution
file { "/usr/local/nagios/libexec":
ensure => present,
owner => "nagios",
group => "nagios",
mode => 755,
sourceselect => all,
source =>
["puppet:///extra_files/basisapplikationen/monitoring/nagios/client/custom-plugins
Hi John,
I add purge => false in the file /usr/local/nagios/libexec but it did not
change anythink.
I need to find out if I can put the files in an other directory.
Thank you
Andreas
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubsc
Hi,
I have a file resource that brings files in the diretory
"/usr/local/nagios/libexec" from source1 and I have a second resource file
that should bring file in that same directory but from an other source.
But the result is that only the files from file {
"/usr/local/nagios/libexec": do exi
Great, thank you the good example.
Now I am happy
Andreas
--
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
Hi,
there is a problem
If I want to add a second user with the same group to the same server I get
this error:
Error: Could not retrieve catalog from remote server: Error 400 on SERVER:
Duplicate declaration: Group[baader] is already declared in file
/etc/puppet/git/modules/accounts/manifests
Hi Johan,
thank you for the hint with virtual resources.
Here is my solution
cat init.pp
class accounts {
@accounts::virtual {'test1':
comment => "test1",
uid => "1056",
gid => "880",
group => "baader",
shell => "/bin/bash",
password => '$1$6hsRON8i7w5JncJ
Dear all
I am looking for a solution for a module to define alle possible user and
then install the one or more user from that module if needed on a server,
but not all of them.
My idea is something like this. Can I define a user in the nodes.pp at a
special Server to install that user?
init.p
Many thanks John. Now it is solved.
Here is the solution.
init.pp
class admin_user::group {
group { "baaderadm":
gid => "888",
ensure => present,
}
}
class admin_user {
include admin_user::group, admin_user::list
}
list.pp
class admin_user::list {
admin_user::useradd { "
Great John,
the command
puppet agent --ignoreschedules --tags copy_file
is working and exactly what I need.
Thank you very much.
Andreas
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails
Hi John,
the catalog file in RH6 is fine with "home":"/home/user1" and the user is
created in /home/user1
That problem seems to be complicate.
Andreas
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop re
Hi,
now I have used the "schedule" successfully.
But I don't understand the method to override the schedule completely. Is
it true that I have to change vom node.pp file from
node 'vm6741.muc.baag' inherits base {
$motd_function = "Puppet Agent"
$motd_environment = "Test"
$motd_descript
I forgot: Yes the init.pp file is the one I use.
--
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 group
Hi John,
I can see that it does use the provider user_role_add, but there seems to
be a problem.
Debug: /User[user1]: Provider user_role_add does not support features
libuser; not managing attribute forcelocal
I get the same message when I run it on RedHat 6.
In the catalog file I find this
{
Hi Dick,
thank you for the help, but it did not change anythink. The error mesage
stays exactly the same.
Puppet ignores the setting of the home variable.
Now I have created the missing home directory in /export and the user is
created, but in the wrong directory.
Best regards
Andreas
--
Yo
Dear all
I have puppet 3.2 running and have a module to install user. On Linx user
are created in /home but on Solaris it wants to create them in
/export/home. I don't understand why.
class admin_user::group {
group { "baaderadm":
gid => "888",
ensure => present,
}
}
class ad
1 - 100 of 118 matches
Mail list logo