Giter Club home page Giter Club logo

Comments (5)

smbambling avatar smbambling commented on July 28, 2024

I can't find a pattern to the success or failure when creating periodic-rotating-file-handler. A few more examples of me trying different patterns

Failure:

 $ sudo puppet apply --modulepath=/vagrant/modules /vagrant/manifests/jboss_wildfly8.pp
Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults
Faraday: you may want to install system_timer for reliable timeouts
Notice: Compiled catalog for wildfly.example.dev in environment production in 1.19 seconds
Error: /Stage[main]/Main/Wildfly_resource[/subsystem=logging/periodic-rotating-file-handler=FILE-PROXY-QUERY]: Could not evaluate: private method `gsub' called for nil:NilClass
Notice: Finished catalog run in 0.67 seconds

Success:

$ sudo puppet apply --modulepath=/vagrant/modules /vagrant/manifests/jboss_wildfly8.pp
Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults
Faraday: you may want to install system_timer for reliable timeouts
Notice: Compiled catalog for wildfly.example.dev in environment production in 1.09 seconds
Notice: /Stage[main]/Main/Wildfly_resource[/subsystem=logging/periodic-rotating-file-handler=FILE-WHOIS-PROXY-QUERY]/ensure: created
Notice: Finished catalog run in 0.68 seconds

from puppet-wildfly.

martinbalint avatar martinbalint commented on July 28, 2024

This works for me with version 0.3.6

::wildfly::util::resource { '/subsystem=logging/periodic-rotating-file-handler=FILE-ABC':
  content => {
    'file' => {
      'path' => 'abc.log',
      'relative-to' => 'jboss.server.log.dir'
    },
    'suffix' => '.yyyy-MM-dd',
  }
}

from puppet-wildfly.

smbambling avatar smbambling commented on July 28, 2024

I was on using version 0.3.5, I'll update today and test to see if the issue still occurs. I'm also calling the wildly_resource type directly..though I wouldn't think that would matter.

from puppet-wildfly.

smbambling avatar smbambling commented on July 28, 2024

Its odd that calling the type directly causes an issue but using the define that wraps the type works correctly. Either way as long as it works :)

from puppet-wildfly.

jairojunior avatar jairojunior commented on July 28, 2024

Could swear I already have a comment in this issue asking for debug information. Sorry.

Thank your @martinbalint!

I'll keep it open to investigate. It might be related to "recursive" behaviour.

from puppet-wildfly.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.