English 中文(简体)
Puppet Server and Client working Good but still manifest file doesn t get executed
原标题:

I am currently working on puppet using Amazon Fedora EC2 instances. Both Puppet Server and Client are working fine. I am able to create certificate from client and server is able to sign that but still whatever code I have written in manifest files doesn’t get executed.

Below mentioned is my code in Site.pp file :

class test_class {
    file { “/tmp/testfile”:
        ensure => present,
        mode => 644,
        owner => root,
        group => root
    }
}

node puppetclient {
   include test_class
}

Here, puppetclient is the hostname of client. But still after signing certificate /tmp/testfile doesn’t get created.

DNS is also working perfectly fine. I can ping puppetserver(named as puppet) from puppet client.

Can you please tell me what must be the possible mistake ??

问题回答

It s probably just a typo in the question, but the default catalog file is site.pp , not Site.pp , so try it with site.pp instead.





相关问题
Class-path in manifest not read when running jar in Unix

I have a client application that needs to run on Unix. It works fine in Windows but i get a NoClassDefFound exception in unix. Here s my manifest file: Manifest-Version: 1.0 Ant-Version: Apache Ant ...

How to add manifest to a .NET DLL?

I have a c# class library project that uses a COM dll registered on the system. I now want to deploy the COM dll as a side-by-side assembly, so I don t have to register it, or interfere with other ...

C# compiler options - embedding manifest file

I have found that it is possible to embedd manifest file (added to resources) with Compiler option /win32manifest. I am trying to find compiler options in VS express but I cannot see it. Could you ...

VSTO remove file without resigning the manifest

I have a file added to my vsto project and I want to remove this file after publishing the project. This is because the file should only be avaliable for some customers, for others we want to remove ...

热门标签