Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 08-16-2014, 04:45 AM   #1
LQ Newbie
Registered: May 2011
Location: Belgium
Distribution: Ubuntu 14.04 LTS
Posts: 6

Rep: Reputation: 0
CFEngine policy not executed on ubuntu nodes


I just started with CFEngine. I have 1 policy servers and 2 clients (Ubuntu 14.04 Desktop , Ubuntu 12.04 Desktop) Started with creating a local policy on the Ubuntu 14.04 Desktop with CFEngine agent installed on it. This policy removes an existing "telnet" client.

That local policy worked fine. So I wanted to use the policy on my policy server which then should push it to the clients after 5 minutes. This does not work.

These are the steps I did on the policy server:

Step1: Create a file in the /var/cfengine/masterfiles directory

bundle agent remove_packages
      "telnet"  usebundle => package_absent("telnet");
Step2: vi in the /var/cfengine/masterfiles directory and add

body common control


      bundlesequence => {
Step3: vi in the /var/cfengine/masterfiles directory and add
  inputs => {
            # JF 15/08/2014 remove telnet package

Step4: Check on mistakes
root@ubuntu:/var/cfengine/masterfiles# cf-promises ./
Step5: Wait 5 minutes until it replicates to the clients..

Here nothing happens at the clients ... As you can see it is still present:

root@ubu14client:~# which telnet
Can somebody explain me why it does not work?

Many thanks for helping me out!


Old 08-16-2014, 06:11 AM   #2
LQ Newbie
Registered: May 2011
Location: Belgium
Distribution: Ubuntu 14.04 LTS
Posts: 6

Original Poster
Rep: Reputation: 0
I found in another post it had to do with "clock skew".

I have set the correct timezone for my servers and update with the ubuntu timeservers. From then everything went fine.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Configure my Redhat directory server password policy and account lockout policy arunplanet Linux - Newbie 4 10-06-2012 09:59 AM
In ubuntu i executed svn co command more than onetime , now how to recover alexdb2012 Linux - Newbie 0 07-04-2012 06:03 AM
[SOLVED] Configured Cron job executed every hour is instead executed every minute for 10m markings Linux - Software 4 05-13-2012 06:43 PM
Ubuntu 10.04: Scripts saved in /etc/network/if-up.d are not being executed Bfkhiya Linux - Networking 4 09-29-2011 06:37 PM
[SOLVED] Xwindow's program will not run when executed on boot or when executed remotely richman1234 Programming 2 10-08-2010 02:32 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:34 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration