Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant