Re: [Puppet Users] Puppet 3.6.2: import is deprecated

2014-07-01 Thread Johan De Wit

On 30/06/14 19:52, Sergey Arlashin wrote:

Hi!

I used 'import' in my previous config.

I had the following structure:

site.pp :
import 'nodes.pp'

nodes.pp:
import 'node1.pp'
import 'node2.pp'
import 'node3.pp'
etc.

Now I'm moving to 3.6.2 and after getting the deprecation warning decided to 
remove all imports from my manifests.

Now puppet agent seems to ignore all my config. None of my modules is applied. 
--debug shows that it doesn't try to apply anything at all.

Could anyone tell me if it is normal? :) Or may be I'm doing something wrong? 
Or may be this is a bug?

# puppet config print manifest
/etc/puppet/environments/production/manifests


Thanks in advance!

--
Best regards,
Sergey Arlashin


  



  


As an example, this is my manifests directory :

[root@puppet manifests]# ls -l
total 28
-rw-r--r--. 1 root root  819 Jun  1 22:40 00_koewacht_defaults.pp
-rw-r--r--. 1 root root  950 Jun  1 23:20 fc19.koewacht.net.pp
-rw-r--r--. 1 root root 1152 Jun 15 17:20 fc20.koewacht.net.pp
-rw-r--r--. 1 root root  930 May 20 13:12 laptopfc18.koewacht.net.pp
-rw-r--r--. 1 root root  801 Jun 13 09:29 puppet.koewacht.net.pp
-rw-r--r--. 1 root root  320 May 20 13:12 rspecfc20.koewacht.net.pp

[root@puppet manifests]# pwd
/data/puppet/environments/production/manifests

the  00_koewacht_defaults.pp is my former site.pp, which will be loaded 
first.  The rest are my former node/.pp files.


running on 3.6.2 and also dir envs.

Grts

jo



--
Johan De Wit

Open Source Consultant

Red Hat Certified Engineer  (805008667232363)
Puppet Certified Professional 2013/2014 (PCP006)
_
 
Open-Future Phone +32 (0)2/255 70 70

Zavelstraat 72  Fax   +32 (0)2/255 70 71
3071 KORTENBERG Mobile+32 (0)474/42 40 73
BELGIUM http://www.open-future.be
_
 


Next Events:
Linux Training | https://www.open-future.be/linux-training-8-till-12th-september
Puppet Introduction Course | 
https://www.open-future.be/puppet-introduction-course-15th-september
Puppet Fundamentals Training | https://www.open-future.be/puppet-fundamentals-training-16-till-18th-september 
Zabbix Certified Specialist | https://www.open-future.be/zabbix-certified-specialisttraining-22-till-24th-september

Zabbix Certified Professional | 
https://www.open-future.be/zabbix-certified-professional-training-25-till-26th-september
Subscribe to our newsletter | http://eepurl.com/BUG8H

--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/53B266EA.7070407%40open-future.be.
For more options, visit https://groups.google.com/d/optout.


[Puppet Users] Puppet 3.6.2: import is deprecated

2014-06-30 Thread Sergey Arlashin
Hi!

I used 'import' in my previous config. 

I had the following structure:

site.pp : 
import 'nodes.pp'

nodes.pp: 
import 'node1.pp'
import 'node2.pp'
import 'node3.pp'
etc. 

Now I'm moving to 3.6.2 and after getting the deprecation warning decided to 
remove all imports from my manifests. 

Now puppet agent seems to ignore all my config. None of my modules is applied. 
--debug shows that it doesn't try to apply anything at all.

Could anyone tell me if it is normal? :) Or may be I'm doing something wrong? 
Or may be this is a bug?

# puppet config print manifest
/etc/puppet/environments/production/manifests


Thanks in advance!

--
Best regards,
Sergey Arlashin


 


 

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/F68AF841-26E8-442B-B8A3-E4EA8426FEA4%40gmail.com.
For more options, visit https://groups.google.com/d/optout.