similar to: centos add user failed

Displaying 20 results from an estimated 30000 matches similar to: "centos add user failed"

2010 Oct 29
14
require service started at another node
Hello, Anybody now how make with puppet dependence on other service on another node? like : require => Service[dbnode:postgresql] I need ensure that the db is running on another node before start my appserver. Thank you. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to
2010 Nov 11
7
Problem with modules
Hello. I use puppet 2.6.3-rc2 Now I try move my classes to modules. But I got a problem that Puppet does not sees modules. in puppet.conf: [main] logdir = /var/log/puppet rundir = /var/run/puppet ssldir = $vardir/ssl libdir = /opt/puppet-dashboard/lib/puppet modulepath=$confdir/modules In nodes : node postgres { include basesystem include postgres } In
2009 Nov 17
2
Just what is puppet doing here?
What is puppet doing here? Nov 17 00:02:01 gumby yum: Installed: tf-starterkit-tfel0-1.0-1.tf.noarch Nov 17 00:02:01 gumby puppetd[720]: (//Node[gumby.fr.xxx.com]/Starterkit::Setup[tfel0]/Package[tf-starterkit-tfel0]/ensure) created Nov 17 00:02:07 gumby yum: Installed: tf-jboss-server-4.2.3.GA-1.tf.noarch Nov 17 00:02:07 gumby puppetd[720]:
2012 Sep 03
2
Class for transfering files from Server to Client
I have installed JBOSS application manually following these steps: [code] 1.$ su -c "yum install java-1.6.0-openjdk-devel" 2.$ java –version 3.wget http://download.jboss.org/jbossas/7.1/jboss-as-7.1.1.Final/jboss-as-7.1.1.Final.zip 4.$ unzip jboss-as-7.1.1.Final.zip -d /usr/share 5.$ adduser jboss 6.$ chown -fR jboss.jboss /usr/share/jboss-as-7.1.1.Final/ 7.$ su jboss 8.$ cd
2009 Nov 04
2
Using before=> in a definition...
I hope I haven''t dug myself into a corner here... How can I make sure that /some/file.xml is created BEFORE the jboss-tfel0 service is started? I can''t use before => in the file{} in the jboss class because it doesn''t exist there. define create_jboss_inst($inst, $version, $naming_port) { .... service { "jboss-$inst": require
2012 Dec 20
3
Whats the best approach to create a repo of the installers to be used for installing and upgrading in the puppet managed nodes
Lets take the example, I am having a jboss-4.2.3 installers as a .tar file. In general to install jboss, i ll 1. untar the jboss-4.2.3 into a prefefined folder (opt/server/jbossas/) into multiple servers 2. untar the openjdk into a preferined path (/opt/software/java)set the path in the bash.profile 3. Create server profile in the place where jboss is installed 4. Start the server. Lets say
2012 Aug 25
8
JBOSS installation and Configuration through puppet
Hi All, I have puppet server and client ready. I found JBOSS module and manifests under https://github.com/example42/puppet-jboss/<https://github.com/example42/puppet-jboss/blob/master/manifests/init.pp> and imported it through git. I am encountering these isse while I run : http://pastebin.com/S67JqmSK -- You received this message because you are subscribed to the Google Groups
2008 Dec 04
3
Looking up information from the config...
Is there a way, in a puppet config, to query the current nodes config elements and use them in a template? My specific case is a JBOSS configuration with multiple instances on one server installation. I have the server configured as a class (with unpacking the zip file and making the server level changes), then each instance in a definition (making a copy of the default instance config and
2010 Jun 20
2
Variable Scope in classes
I think I have a misunderstanding of variable scope in classes. Wy isn''t tfel4_ClusterDbType set in the elements::tfel4::elements class? It''s set in elements::tfel4::defaults but then goes *poof* when elements::tfel4::elements tries to access it. class elements::tfel4::defaults { if ( !$tfel4_ClusterDbType ) { $tfel4_ClusterDbType = "oracle" }
2012 Feb 14
7
inherits from parametrized class
Hello In is possible inherits from parametrized class?? For example i have base php52 class like this: class linux::php52($pools, $extensions='''') inherits linux { ...... } and whants to inherit it like this: class linux::php52::cluster inherits linux::php52 for cluster configuration (cluster stuff -f for example prevent php from automatic startup), and class
2013 Mar 13
2
How to add a new line at a particular place in a file..
Hi all, How can i write a puppet code such that..it adds a line of content that i want..at a desired place in a file.. if [ "x$JAVA_OPTS" = "x" ]; then JAVA_OPTS="-Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
2009 Nov 10
23
Puppet Not Running chkconfig correctly.
So, I noticed that when adding a service to puppet, puppet is running a chkconfig <service>. However, as far as I can tell, puppet should be running a chkconfig --add <service>, otherwise the symlinks don''t get created from the service in /etc/rc.d/rc6.d back to the service in /etc/init.d. As as a result, the service is not stopped on shut down. I must be missing something
2010 May 24
1
Get System Variable
Does anyone know how I can get a system variable like JAVA_HOME or JBOSS_HOME from within Rails/Ruby? -- _________________________________ Joshua S. Martin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from
2012 Jan 10
3
I am looking to try to mixing sounrce and content in a file instance
Let''s start with this: class whatever ( $myType=''other'' ) { file { "some-config-file": ... content => $myType ? { ''this'' => template("whatever/this.erb"), ''that'' => template("whatever/that.erb"), ''other'' =>
2011 Dec 06
8
explicit class dependencies
Do explicit class dependencies work? This simple example fails with: Could not find resource ''Class[Config]'' for relationship on ''Class[Uses_config]'' class config { } class uses_config { Class[''config''] -> Class[''uses_config''] } include uses_config Am I doing something? Thanks, Christian -- You received this
2007 Aug 10
2
jinfo, jboss and ExtendedDTraceProbes
Hi, I would like to use dtrace to observe some behaviour in my J2EE app running in JBoss. I start JBoss normally in a 1.6 VM. When I try to enable set the ExtendedDTraceProbes flag using jinfo, I get a thread dump in the JBoss console and the message: "Unable to open door: target process not responding or HotSpot VM not loaded" in the jinfo console. I have tried this with both
2012 Jun 12
2
Adding files to file server on Puppet Master from a client
HI. Firstly, I''m bound to be doing something utterly basically wrong here, so if I am I apologise. Right now I have a fairly simple setup where the JAR files for a Weblogic-based application server are stored in the file server on my Puppet Master. I run scripts on the client that downloads the files from the file server, puts them in the right place etc etc. All very simple. I am
2013 Jan 07
3
How manage xml elements as resources?
I would like to use puppet classes to inject and/or replace xml elements into an existing xml configuration file. This seems to me to be a common problem already solved. Can anyone suggest the easiest way to do this? An example use case would look like something like this. Given xml file: <host> <server name="one"/> <server name="two"/>
2011 Aug 23
2
err: Could not run Puppet configuration client: execution expired
I am new to using puppet and having trouble when updating an agent from a master which has a lot of files. Usually the updates work, but when there are a lot of files I get this error when running: sudo puppetd --test --server puppet.example.local --trace --debug >>> debug: Failed to load library ''rubygems'' for feature ''rubygems'' debug: Failed to load
2007 Jan 05
1
Help with rsync configuration
Hello there! We are trying to get rsync to work in our servers but so far we did not succeeded. Our scenario is a 3 machines where one directory must be replicated through all the clusters, no matter where the file was saved. I have a few basic questions regarding that: 1st Do I need a daemon on all instances or just one of them? Files saved on any of them must be mirrored 2nd We gave a try with