similar to: Duplicate Class declaration error

Displaying 20 results from an estimated 6000 matches similar to: "Duplicate Class declaration error"

2013 Nov 27
1
Duplicate declaration
I have module, for which if I add the class in the UI and run the agent with --test it fails with the following error. But If I just add the include <classname> in the init class and run, it works. Any idea? Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Duplicate declaration: Class[classname] is already declared; cannot redeclare on node nfaxen-ubu1.fqdn
2012 Sep 17
2
inheritance failure: duplicate declaration error
Hello list. I''ve the following parent class: class munin::client { ... munin::client::plugin { "postfix_mailqueue": name => "postfix_mailqueue", enable => "false" } } And the following inherited class: class munin::client::plugins::postfix inherits munin::client { munin::client::plugin {
2012 Sep 26
14
Glassfish custom provider and 'file does not exist'
Hi there, I''m trying to setup Glassfish config management using puppet. I''ve found larstobi''s module here <https://github.com/larstobi/puppet-glassfish/>which I''ve cloned and am starting to tweak, as it would appear that the mentioned module is based on Solaris, therefore I''m starting to add support for EL. My code tree is
2011 Jan 28
2
Application / database deployment coordination
Folks: Just getting started with puppet in a large legacy environment that has never had meaningful systems automation. After a couple of weeks in the lab, we''re extremely happy with the spectacularly quick progress we''ve been able to make, and the obvious promise that puppet holds. However (and there''s always a however): we''ve got a pretty good sized
2013 Oct 11
4
Duplicate declaration for files.
Hello, I''m configuring my linux server with puppet open and is ok. My question is the next; I''ve a declared in mi nodes.pp the next: [.............] node ''basenode'' { include ''baseos'' include ''motd'' import ''useradd.pp'' } #All nodes for my domain node /.*\.example\.com/ inherits
2012 Oct 22
3
Duplicate class declaration because of counterintuitive class scoping
Hi, I bumped into the following this afternoon (on a 2.7.19 puppet master/agent combo): consider a class profile::tomcat in module profile with the following content: $ cat modules/profile/manifests/tomcat.pp class profile::tomcat { class { ''tomcat'': } notice(''Class profile::tomcat in module profile'') } and $ cat modules/tomcat/manifests/init.pp
2012 Dec 14
2
Duplicate declaration for invoking a class
Hi everyone, Here are the manifest I am using: In file ''*modules/test/manifest/init.pp*'': class test ( $test = undef, ) { notice("Here is the message: ${test}") } Now in ''*modules/saas/manifests/client/sudo.pp*'': class saas::client::sudo { class { ''test'': } } Now in ''*manifests/sites.pp*'': import
2016 Jul 11
2
CentOS 7 and Glassfish 2.1.1
El 11/07/2016 a las 05:11 p. m., John R Pierce escribi?: > On 7/11/2016 2:40 PM, Efra?n D?ctor wrote: >> >> I have a server with CentOS 7 installed, on this server I installed >> Java 1.7 (java version "1.7.0_80") and Glassfish 2.1.1. The last few >> days I've ran into a problem: Glassfish process got killed twice and >> I don't have a clue why
2016 Jul 11
2
CentOS 7 and Glassfish 2.1.1
El 11/07/2016 a las 05:35 p. m., John R Pierce escribi?: > On 7/11/2016 3:17 PM, Efra?n D?ctor wrote: >> Hello. Is Sun/Oracle Java, I installed Glassfish using this guide: >> https://glassfish.java.net/downloads/v2.1.1-final.html > > that says to install JDK 5 or 6, not 1.7, for Glassfish 2.1.1, which > is a rather old release. > > the current release is 4.1.1,
2011 Feb 15
3
troubles with require parametre
Hi all, Getting some troubles installing bind: I''m working on debian squeeze, both client and server are 2.6.2, mod_passenger added. in my class definition: class conf_bind_nshost { include motd motd::register{"${name}": } #Register in motd module package { "bind9": ensure => "1:9.7.2.dfsg.P3-1.1", } file {"dns": require
2016 Jul 11
0
CentOS 7 and Glassfish 2.1.1
On 7/11/2016 2:40 PM, Efra?n D?ctor wrote: > > I have a server with CentOS 7 installed, on this server I installed > Java 1.7 (java version "1.7.0_80") and Glassfish 2.1.1. The last few > days I've ran into a problem: Glassfish process got killed twice and I > don't have a clue why is getting terminated, I know that sometimes > processes get killed if RAM is
2010 Jan 28
2
Is anyone managing Glassfish configuration with puppet?
Has anyone found a clean way to manage Glassfish configuration with puppet? Glassfish was designed to be managed through a WebUI or a CLI tool known as asadmin. Making changes using these tools modifies a domain.xml file. Glassfish reads and writes this file every time it restarts, even if the contents are the same, which changes the timestamp. I believe this can be addressed by setting puppet
2016 Jul 11
0
CentOS 7 and Glassfish 2.1.1
On 7/11/2016 3:17 PM, Efra?n D?ctor wrote: > Hello. Is Sun/Oracle Java, I installed Glassfish using this guide: > https://glassfish.java.net/downloads/v2.1.1-final.html that says to install JDK 5 or 6, not 1.7, for Glassfish 2.1.1, which is a rather old release. the current release is 4.1.1, implementing Java EE 7, https://glassfish.java.net/download.html -- john r pierce, recycling
2016 Jul 11
0
CentOS 7 and Glassfish 2.1.1
On 7/11/2016 3:38 PM, Efra?n D?ctor wrote: > > Yes. But it is possible to use Glassfish 2.1.1 with Java 1.7 (I have > other systems using that combo and they work fine). I cannot use > Glassfish 4.1.1 because the application only runs in 2.1.1. well, glassfish is open source, and its not part of CentOS so you'd best take this up with the Glassfish community, and/or debug it
2013 Aug 21
1
Trouble with ENC and static.pp : enabling ENC fails to find node even with default node in site.pp
I''m having some trouble with getting an ENC to work alongside site.pp: Even with a ''default'' node definition, and an ENC that only returns 0, regardless of input, consistently results in a ''cannot find node'' error. I''m wondering what I''ve missed here. I''ve tried to reduce everything to a ''base case'': and
2010 Apr 26
3
allow multiple users
Hi, I have user A that connects to ssh successfully through public key authentication. I created on server user B, but ssh doesn't allow user B to connect through PKI. Both users use the same key to connect, for user A works, for user B doesn't. Here is the fail message: "trying public key file /home/A/glassfish/domains/domain1/config/authorized_keys debug1: fd 4 clearing
2016 Jul 11
2
CentOS 7 and Glassfish 2.1.1
Hello. I have a server with CentOS 7 installed, on this server I installed Java 1.7 (java version "1.7.0_80") and Glassfish 2.1.1. The last few days I've ran into a problem: Glassfish process got killed twice and I don't have a clue why is getting terminated, I know that sometimes processes get killed if RAM is not enough; however on this server I have 62GB of RAM and 10GB
2010 Sep 15
7
Glassfish asadmin provider
Hi, I am making a resource type to manage Glassfish domains. I''m not quite sure how to specify provider commands with a sane default and in configurable way. The location of the binary may be in other locations depending on where Glassfish was installed. http://github.com/larstobi/puppet-glassfish/blob/master/lib/puppet/provider/glassfish/asadmin.rb Does anyone have any advice on
2012 Dec 07
2
Help with PuppetDB
Hello Everybody, I am trying to install the puppetdb on the same machine as am running my puppetmaster. I am getting the following error when am trying to connect the agent: Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to submit ''replace facts'' command for ftldwshost180.wsdev.citrix.com to PuppetDB at
2011 Mar 28
4
Order Issues -- Missing require?
Good Evening! I''m having issues with the order in which items are ran inside of a service class, it''s attempting to run before the provider is present (the provider is provided by the glassfish package). It looks for the glassfish provider prior to inheriting the repository or the package list. http://snipt.org/woomg I have included a snipt of the code, does anyone have an