Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nxFile doesn't create file if it's deleted #843

Open
rezarms opened this issue Mar 11, 2022 · 1 comment
Open

nxFile doesn't create file if it's deleted #843

rezarms opened this issue Mar 11, 2022 · 1 comment

Comments

@rezarms
Copy link

rezarms commented Mar 11, 2022

I'm using below config for nxFile in Azure Automation Account:

Node $Node
{

   nxFile testConf
   {
      DestinationPath = "/etc/test.conf"
      Mode = "644"
      Type = "file"
      Contents = "hello test"
   }
}

It works in first run and creates the file .Then later if I delete the file it doesn't create the file.

I have kind of similar issue with nxScript which runs script first time but afterwards it doesn't run the script (I'm always returning false in TestScript so it should always run).

@rezarms
Copy link
Author

rezarms commented Mar 11, 2022

I noticed the issue is in Pull mode and in Push mode works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant