Skip to content

Could not find resource 'Exec[install-psycopg2]' in parameter 'require' #3

Description

@shiyu-wangbyte

hello, do you know how to solve this problem?
When I run the command "sudo puppet apply --modulepath protwis_puppet_modules manifests/default.pp", the system remined me that:
/usr/lib/ruby/vendor_ruby/puppet/util.rb:461: warning: URI.escape is obsolete
/usr/lib/ruby/vendor_ruby/puppet/util.rb:461: warning: URI.escape is obsolete
/usr/lib/ruby/vendor_ruby/puppet/util.rb:461: warning: URI.escape is obsolete
/usr/lib/ruby/vendor_ruby/puppet/util.rb:461: warning: URI.escape is obsolete
/usr/lib/ruby/vendor_ruby/puppet/util.rb:315: warning: deprecated Object#=~ is called on Puppet::Transaction::Report; it always returns nil
/usr/lib/ruby/vendor_ruby/puppet/util.rb:461: warning: URI.escape is obsolete
/usr/lib/ruby/vendor_ruby/puppet/util.rb:461: warning: URI.escape is obsolete
/usr/lib/ruby/vendor_ruby/puppet/util.rb:461: warning: URI.escape is obsolete
/usr/lib/ruby/vendor_ruby/puppet/util.rb:461: warning: URI.escape is obsolete
/usr/lib/ruby/vendor_ruby/puppet/util.rb:461: warning: URI.escape is obsolete
/usr/lib/ruby/vendor_ruby/puppet/util.rb:461: warning: URI.escape is obsolete
Warning: Unacceptable location. The name 'puppet::install::pip' is unacceptable in file '/protwis/conf/protwis_puppet_modules/python/manifests/init.pp' (file: /protwis/conf/protwis_puppet_modules/python/manifests/init.pp, line: 2, column: 1)
/usr/lib/ruby/vendor_ruby/puppet/util.rb:461: warning: URI.escape is obsolete
Error: Could not find resource 'Exec[install-psycopg2]' in parameter 'require' (file: /protwis/conf/protwis_puppet_modules/apache/manifests/init.pp, line: 100) on node shiyu-x1.lan

My ubuntu version is #83~20.04.1-Ubuntu SMP Wed Jun 21 20:23:31 UTC 2023.
Thank you!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions