I have configured the puppet PE 3.8 and successfully integrated r10k and 
git.I am able to download modules from forgeapi.puppetlabs.com and i can 
able to populate via r10k for dynamic branches.

 Now i have downloaded some modules from forgeapi.puppetlabs.com and kept 
it to /modules directory

my Puppetfile is like below....

 

mod 'puppetlabs/apache', :path => '/module/apache'

mod 'puppetlabs/vsftpd', :path => '/module/vsftpd'

mod 'puppetlabs/portage', :path => '/modules/portage'

mod 'puppetlabs/pe_gem', :path => '/modules/pe_gem'

mod 'puppetlabs/vcsrepo', :path => '/modules/vcsrepo'

mod 'puppetlabs/ntp', :path => '/modules/ntp'

mod 'puppetlabs/inifile', :path => '/modules/inifile'

mod 'puppetlabs/mysql', :path => '/modules/mysql'

mod 'puppetlabs/postgresql', :path => '/modules/postgresql'

mod 'puppetlabs/firewall', :path => '/modules/firewall'

mod 'puppetlabs/puppetdb', :path => '/modules/puppetdb'

mod 'puppetlabs/concat', :path => '/modules/concat'

mod 'puppetlabs/stdlib', :path => '/modules/stdlib'

 

when i execute the following command i am getting the below error

 

r10k deploy environment -pv

 

INFO     -> Deploying module 
/etc/puppetlabs/puppet/environments/operations_vijay/modules/apache

INFO     -> Deploying module 
/etc/puppetlabs/puppet/environments/operations_vijay/modules/vsftpd

ERROR    -> Command exited with non-zero exit code:

Command: puppet module --modulepath 
/etc/puppetlabs/puppet/environments/operations_vijay/modules --color false 
install --force puppetlabs/vsftpd

Stdout:

Notice: Preparing to install into 
/etc/puppetlabs/puppet/environments/operations_vijay/modules ...

Notice: Downloading from https://forgeapi.puppetlabs.com ...

Stderr:

Error: Could not install 'puppetlabs-vsftpd' (latest)

  No releases are available from https://forgeapi.puppetlabs.com

    Does 'puppetlabs-vsftpd' have at least one published release?

Exit code: 1

INFO     -> Deploying module 
/etc/puppetlabs/puppet/environments/operations_vijay/modules/portage

ERROR    -> Command exited with non-zero exit code:

Command: puppet module --modulepath 
/etc/puppetlabs/puppet/environments/operations_vijay/modules --color false 
install --force puppetlabs/portage

Stdout:

Notice: Preparing to install into 
/etc/puppetlabs/puppet/environments/operations_vijay/modules ...

Notice: Downloading from https://forgeapi.puppetlabs.com ...

Stderr:

Error: Could not install 'puppetlabs-portage' (latest)

  No releases are available from https://forgeapi.puppetlabs.com

    Does 'puppetlabs-portage' have at least one published release?

Exit code: 1

INFO     -> Deploying module 
/etc/puppetlabs/puppet/environments/operations_vijay/modules/pe_gem

INFO     -> Deploying module 
/etc/puppetlabs/puppet/environments/operations_vijay/modules/vcsrepo

INFO     -> Deploying module 
/etc/puppetlabs/puppet/environments/operations_vijay/modules/ntp

INFO     -> Deploying module 
/etc/puppetlabs/puppet/environments/operations_vijay/modules/inifile

INFO     -> Deploying module 
/etc/puppetlabs/puppet/environments/operations_vijay/modules/mysql

INFO     -> Deploying module 
/etc/puppetlabs/puppet/environments/operations_vijay/modules/postgresql

INFO     -> Deploying module 
/etc/puppetlabs/puppet/environments/operations_vijay/modules/firewall

INFO     -> Deploying module 
/etc/puppetlabs/puppet/environments/operations_vijay/modules/puppetdb

INFO     -> Deploying module 
/etc/puppetlabs/puppet/environments/operations_vijay/modules/concat

INFO     -> Deploying module 
/etc/puppetlabs/puppet/environments/operations_vijay/modules/stdlib

INFO     -> Removing unmanaged path 
/etc/puppetlabs/puppet/environments/production

 from this output i dont understand why still trying to  download from 
internet rather than /modules directory....

 Please advise me on this......

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-dev/2cf95064-197e-44a6-89cf-9e0c4c05e5fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to